vim is a simple, powerful text editor.
press i to get into insert mode and start typing
- press Esc to get out of insert mode and back to entering commands
Commands
In command mode:
- h/l = left/right
- k/j = up/down
- p = paste
- u = undo
In insert mode:
- Basically nothing works except typing.
For the ultimate editor, you might want to combine emacs and vi using the ViperMode of Emacs.
vim provides syntax highlighting and indentation for many languages, but I don't know how to enable this.
