made with ♥ by xaf
Normal
Insert
Visual
Default mode
You can execute commands and move around the code
Come back here with
Tipical notepad mode
You can execute commands with key combinations
Use i
Mode of text selection
You can execute commands
Use v
You can execute more commands
Use :
:e gunit.md
:w Write
:x Write & Exit
ZZ Write & Exit
:q Quit
:q! Quit without saving changes
:sp file
:vsp file
hjkl
Try it in gmail or github :D
w (word)
b (back)
gg (top)
G (botton)
0 (column 0)
$ (end of line)
y (yank)
p (paste)
d (delete)
r (replace)
2yy (yank 2 lines)
5pp (paste 5 lines)
2dd (delete 2 lines)
d2w (delete 2 words)
dtw (delete 2 words)
/something
:%s/xavi/Xavi
u (undoes)
Control-r (redoes)
/home/user/.vimrc
Allows you to tune vim, themes, install plugins, aliases, personal keystronkes, function...
:help
:help tutor
https://www.vimgolf.com
in terminal type: vimtutor
https://www.vim-adventures.com