~/.vimrc
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
Execute command
:!command line
Open a shell and exit
:shell
exit
Open a horizontal window
Ctrl+w s
Open a vertical window
Ctrl+w v
Close window
Ctrl+w c/o single/all
Replace text
:1,10s/a/b/g
:%s/a/b/g
Print text
:1,10p
Open text
:edit filename
Keyboard movement
hjkl
left down up right