issues
search
wangbinyq
/
personal-wiki
2
stars
0
forks
source link
vimtutor
#28
Open
wangbinyq
opened
6 years ago
wangbinyq
commented
6 years ago
move: hjkl
delete: d
replace: r
change: c
undo: u
redo: ctrl+r
go to line: # gg
go to bottom: gg
go to top: G
back to last position: ctrl + o
forward to next position: ctrl + i
search: / or ?
match parenthesis: %
replace: :s/old/new/
replace line: :s/old/new/g
replace between line :#,#s/old/new/g
replace in whole file: :%s/old/new/g
replace in whole file with prompt: :%s/old/new/gc
external command: :!command
save part of file: v + w
retrieving and merging from external