Today I had that old feeling of wonder on how powerful VIM is: I needed a number sequence in the start of some fields and discovered the power of g CTRL-A.
So as I always do when I discover something new in VIM I tried to find exactly what this command does, but was baffled to see what :h g
told me about g CTRL-A:
g_CTRL-A g CTRL-A only when compiled with MEM_PROFILE
defined: dump a memory profile
Huh? What's a "memory profile"? what does that have to do with number sequences? I try to use g CTRL-A in other element besides a blockwise selection of numbers and it did nothing.
Can anyone explain what exactly g CTRL-A does and what a memory profile is?
Edit
As @MDeBusk correctly pointed out, that wasn't the correct help entry. A bit down below we see the correct entry as the following:
v_g_CTRL-A g CTRL-A 2 add N to number in highlighted text
That's better. The former entry was for normal mode. But when using in a selection we're on visual mode.
Fine. But the question remains: what does g CTRL-A on normal mode do? What's a memory profile? Does anyone know?