How do I move the cursor to the next/previous number?
Ctrl-x and Ctrl-a can't be used since I have :set nrformats+=alpha
.
Next number: /[0-9]
or /\d
Previous number: ?[0-9]
or ?\d
For non-decimal numbers, you can also use these equivalences:
\d : [0-9] -> decimal digit
\x : [0-9A-Fa-f] -> hex digit
\o : [0-7] -> octal digit
/\d
and ?\d
/[[:digit:]]
and ?[[:digit:]]