Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
vim
/
Re-indent whole file
Re-indent whole file
vim
Go to top (gg), re-indent to end of file (=G)
gg=G
⎘ copy
#vim
#linux
more vim
all 10 commands →
Record and play macro
qa (record into a) q (stop) @a (play) 10@a (play 10 times)
Show line numbers
:set number
Split window and open file
:vsplit other.txt
Save and quit
:wq
Quit without saving
:q!