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
  • 23,801
  • 35
  • 124
  • 210

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
  • 18,934
  • 10
  • 72
  • 89