Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0 vs ^ for beginning of line #3

Open
ghost opened this issue Mar 28, 2011 · 2 comments
Open

0 vs ^ for beginning of line #3

ghost opened this issue Mar 28, 2011 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 28, 2011

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

@philc
Copy link
Owner

philc commented Mar 28, 2011

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

@ghost
Copy link
Author

ghost commented Mar 28, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant