Vim笔记20150401
2015-04-02 本文已影响0人
咸味奥利奥
几个有用的命令:
o -- new line and edit
s -- substitute
caw -- change a word
daw -- delete a word
b -- back {a word}
<C-a><C-x> -- add/subtract 1(or number) from number
f -- find char ; -- find next char
* -- find word under current position
n/N -- next/previous
gU/gu -- change to upper case/lower case
zz -- centers view
In edit mode:
<C-r> -- paste from buffer
<C-r>= -- add some number to position