Vim The Editor
Files
- :e {file}
- Open file. Use tab for auto-complete.
- :w {file}
- Save as or save if no file is specified.
- :q
- Quit Vim. Won't exit if unsaved.
- :q!
- Quit without saving changes.
- :qw
- Save and quit.
- :x
- Save and quit (unless unchanged). Basically the same as :qw.
Movement
- j/&up;
- Open file. Use tab for auto-complete.
- :w {file}
- Save as or save if no file is specified.
- :q
- Quit Vim. Won't exit if unsaved.
- :q!
- Quit without saving changes.
- :qw
- Save and quit.
- :x
- Save and quit (unless unchanged). Basically the same as :qw.