Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
vim
/
Show line numbers
Show line numbers
vim
Toggle line numbers on (use :set nonumber to hide)
:set number
⎘ copy
#vim
#linux
more vim
all 10 commands →
Split window and open file
:vsplit other.txt
Save and quit
:wq
Quit without saving
:q!
Global search and replace
:%s/old/new/gc
Open file at line number
vim +42 file.txt