Before you start…
This intro course is designed to go along with Vim's built in tutorial program, VimTutor. You should pull up VimTutor and come back here to quiz yourself after each lesson.
To open VimTutor, just open a terminal and type vimtutor
.
Up Next
- h
- Move cursor left
- l
- Move cursor right
- j
- Move cursor down
- k
- Move cursor up
- :q
- Close file
- :q!
- Close file, don't save changes
- :w
- Save changes to file
- :wq or :x or ZZ
- Save changes and close file
- x
- Delete character at cursor
- i
- Insert at cursor
- I
- Insert at beginning of line
- a
- Append at cursor
- A
- Append at end of line
- escape or ctrl+[
- Exit insert mode