1

In the Vim documents there a mention that Crtl+A should increase a number by one. In the Windows version it instead selects all text.

Is there an alternative shortcut for increasing a number by one?

Christian
  • 25,249
  • 40
  • 134
  • 225

1 Answers1

1

I've got the following in my vimrc:

nnoremap <kPlus> <C-a>
nnoremap <kMinus> <C-x>

This maps increment and decrement to the keypad + and - keys.

Matthew Strawbridge
  • 19,940
  • 10
  • 72
  • 93