tools - vim to increment/decrement number under cursor
in VIM, you can do increment or decrement with the two key commands: they are ctrl-a : increasectrl-x: decrease You can increment a number with control AYou can decrement a numbe...
·
in VIM, you can do increment or decrement with the two key commands:
they are
ctrl-a : increase
ctrl-x: decrease
- You can increment a number with control A
- You can decrement a number with control X
- If the cursor is not already on a number, either of these will advance the cursor to the next number
- This does the math for multi-column numbers!
the original post is http://dannyman.toldme.com/2008/01/23/vim-increment-decrement-integers/ - tip: Vim can add and substract.
更多推荐




所有评论(0)