Vim is really powerful editor with huge and easy to remember commands. But today I noticed that in my daily editing tasks I use only small subset of them. It’s really interesting to me, so I decide to document what I type in my vim. So, here is my top:
Warning! Bad english (I try to learn, so I decide to write some posts in english).
dd- delete line
dw- delete to the end of word
w- move forward by word
b- move backward by word
O- insert empty line above current line
o- insert empty line after current line
0- move to the beginning of the line
A- move to the end of the line and switch to /insert/ mode
cw- replace word with another one
rX- replace char under cursor with char X
It’s just ten commands, but I feel very comfortable when I use them.
Build with Jekyll and true minimal theme