2

It looks like using Ctrl-A in GVim doesn't increment from 07 to 08 since a prefix 0 is interpreted as octal numbers by default.

How to make Gvim increment from 07 to 08?

Community
  • 1
  • 1
Mert Nuhoglu
  • 9,695
  • 16
  • 79
  • 117

1 Answers1

11

Command :set nrformats-=octal will do the trick. You can always use :set nrformats+=octal to restore nrformats. Or, if you don't like hex format either, you can just type :set nrformats=alpha. Alternatively, you can save this setting in .vimrc file if you'd like.

Hui Zheng
  • 10,084
  • 2
  • 35
  • 40