Cheatsheet for Vim Tutor
Cheatsheet for Vim Tutor.
Vim Tutor comes installed with most modern MacOS and Linux distributions. To run it, enter vimtutor
in the terminal.
For Windows there should be an entry in the start menu folder titled “vim tutor” if you install Vim.
h j k l
keys.h
: leftj
: downk
: upl
: rightvim FILENAME <ENTER>
<ESC> :q! <ENTER>
to trash all changes<ESC> :wq <ENTER>
to save the changesx
i
type inserted text <ESC>
(insert before the cursor)A
type appended text <ESC>
(append after the line)Note: Pressing <ESC>
will place you in NORMAL
mode or will cancel an unwanted and partially completed command.