vim

键位 作用
skip blocks of code
ctrl + r redo
yy yank the line
P paste above
:32 go to line 32
0 go to beginning of line
$ go to end of line
^ go to beginning word
c + w/b/e change word ahead/behind/entirely
D delete to the end of line
*, n, /<pattern> search for the next match in whole file
; search for the next letter in this line
a insert from right letter
I insert from the beginning word
~ switch case
. repeat last command
R overwrite mode
>> indent
<< unindent
= align
q -> slot -> behave -> q record behavior to slot
@ slot replay behavior from slot
posted @ 2022-08-31 11:42  Blazer96  阅读(30)  评论(0)    收藏  举报