Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

TIL about the '0' command. I have been using '^' to accomplish a similar motion for well over a decade now.

For those curious, '^' moves the cursor to the first non-whitespace character of a line, while '0' moves the curious to the absolute beginning of the line.



hey, i went the other way! i had been using `0` for years and discovered that `_` goes to the first non-whitespace character of the line (which is most of what i want).

til that '^' does the same as '_', cool! (there's probably some teeny difference between them)


I'm lazy and just use 'w' all the time




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: