Remix.run Logo
hirvi74 11 hours ago

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.

wrl 11 hours ago | parent [-]

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)

agentdrek 41 minutes ago | parent [-]

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