Doorgaan naar hoofdcontent

VIM tips & tricks 2: "Adding and Subtracting numbers"

One of the coolest features in Vim is to easily change a number by either an addition or a subtraction of the number on the cursor

In normal mode you type <C-a> for adding one or <C-x> for subtracting one

it even gets better if you add a number before your <C-a> it will use that number to add to the number on the cursor!

Reacties