Here's a good tip I picked up recently when working with numbers:
Increment a number on or after the cursor with Ctrl-A and decrement with Ctrl-X in normal mode. Saves a few keystrokes over having to replace or enter insert mode.
Increment a number on or after the cursor with Ctrl-A and decrement with Ctrl-X in normal mode. Saves a few keystrokes over having to replace or enter insert mode.
set nrformats-=octal
to your .vimrc.This gets scary useful when you use tpope's speeddating plugin.