hjkl - navigation
iIaA - editing in line
xr - making change while in command mode
dd for delete line
G and gg for top and bottom lines
{,} to skip blocks of code
Using numbers to loop command
u for undo and redo
Cntrl+r for redo
yy for copying line
p for pasting line below
P for pasting line above
using dd to cut a line for pasting
use V for visual line mode to select lines
o for inserting the new line below
O for inserting new line above
d+\
w to jump forward words and b to jump backward
\
0 for the beginning of the line and $ for the end of the line.
^ for beginning word
W for jumping forward a word (ignore punctuation)
t+\
% to go to specific block parenthesis
c+\
D to delete from cursor to end of line
* to search for other instances
; to go to the next instance of a character when using t,f
zz to center your page based on the cursor’s position
a to insert from the right of the character, i to insert from left
A to insert from the end of the line, I to insert from the beginning of the line
x to delete a character which cursor is on
~ to change the case of a letter
. to repeat the last executed command
r to replace a letter, R to go to replace mode
Commend combo to move a chunk of code from bottom to top
Commend combo to wrap a chunk of code
\
除另有声明外,本博客文章均采用 知识共享(Creative Commons) 署名-非商业性使用-相同方式共享 3.0 中国大陆许可协议 进行许可。