Skip to content

Vim Notes

vim-modes

a Append text following current cursor position

A Append text to the end of current line

i Insert text before the current cursor position

I Insert text at the beginning of the cursor line

o Open up a new line following the current line and add text there

O Open up a new line in front of the current line and add text there

:w file.txt
:e file.txt
:wq
:w! file_that_exists.txt
:r file.txt
:q!
:q

exit-vim-meme

:qa!

After esc

u

Ctrl + r

Ctrl + e

Ctrl + y

Ctrl + f

Ctrl + b