textmatevim icon indicating copy to clipboard operation
textmatevim copied to clipboard

0 vs ^ for beginning of line

Open ghost opened this issue 13 years ago • 2 comments

Is there a particular reason for this difference between the plugin and Vim?

ghost avatar Mar 28 '11 18:03 ghost

In my unmodified install of vim, 0 goes to the beginning of the line.

philc avatar Mar 28 '11 18:03 philc

Ah. That's what I get for not reading the documentation thoroughly:

The "^" command moves to the first non-blank character of the line.
The "0" command (zero) moves to the very first character of the line.

I never knew about the 0 command.

ghost avatar Mar 28 '11 20:03 ghost