Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 116 words in the discussion.

Trending Topics

#line#sure#rust#vim#til#using#curious#moves#non#whitespace

Discussion (4 Comments)Read Original on HackerNews

keithnz•about 4 hours ago
not sure what it offers? potentially you might not of heard of whichkey? Also, given how little is in the repo, not quite sure why you think this is worth showing on HN?
ElectronicSleep•about 7 hours ago
had an idea for a rust editor with simple vim mode for learning https://github.com/electronicsleep/rust-vim
hirvi74•about 4 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•about 4 hours ago
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)