News for hackers. Stuff that matters.
Re:Moving Fast with the Core Vim Motions by lizardking on Thursday June 15, 2023 @02:20AM (#36337057)
Mentally counting words to move your cursor to right spot isn't a great way to move horizontally. I would usually do something like "/someVariable" and hop my cursor to the exact spot I'm looking for. If it's further in the line, just hit "n". It's pretty fast. But if you just need to move one word over w and b are nice.

Even with vertical movement I never count lines. Relative line numbers make it so you don't have to. Counting is not part of my vim experience.

Re:Moving Fast with the Core Vim Motions by scubbo on Friday June 16, 2023 @05:06PM (#36363882)
Agreed, I do the same.

But in an IDE, that motion is "Cmd-F, <type>, Enter". Vim's not inherently superior there.

Re:Moving Fast with the Core Vim Motions by lizardking on Tuesday June 20, 2023 @06:44AM (#36402123)
My point wasn’t that the ability to search a file is unique to vim, but that counting words to use w or b isn’t really part of the work flow.
Re:Moving Fast with the Core Vim Motions by scubbo on Tuesday June 20, 2023 @10:42PM (#36413738)
OK, but then I'm not clear what part of the workflow is claimed to be unique to Vim, then.
Re:Moving Fast with the Core Vim Motions by lizardking on Thursday June 22, 2023 @12:26PM (#36434610)
I was explaining what the workflow in question is, not claiming that is was unique to Vim necessarily.