Pressing <C-a> increments the number under the cursor. This is correct. However, in real vi(m), pressing <C-a> seeks to the next number on the line, if the cursor is not on a number.
Reproduction steps
type hello world 1
enter normal mode
0
<C-a>
... nothing
Expected behavior
hello world 2 and the cursor to jump to the end of the string
General information
Basic examination
Problem description
Pressing
<C-a>
increments the number under the cursor. This is correct. However, in real vi(m), pressing<C-a>
seeks to the next number on the line, if the cursor is not on a number.Reproduction steps
hello world 1
0
<C-a>
Expected behavior
hello world 2
and the cursor to jump to the end of the string