Ask Your Question

Revision history [back]

Just expanding on fifieldt's answer, press "esc" (the escape key) and then :x or :wq to save and exit vi or :q! to just exit without saving the changes.