How do I make Ctrl-A and Ctrl-X increment and decrement alphabetic characters?
:set nrformats+=alpha
By default, and only increment and decrement numbers (decimal, hex, and octal depending on format).
:set nrformats+=alpha
By default, and only increment and decrement numbers (decimal, hex, and octal depending on format).
<C-v>jj<C-a>
Select numbers with visual block mode , then press to increment all selected numbers by 1.
qaYp<C-a>q
Record a macro that yanks the current line, pastes it below, and increments the number with .
<C-a> / <C-x>
Pressing increments and decrements the number under or after the cursor.