3 ms·
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 c
by lizardking 3y ago
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.
- scubbo 3y agoAgreed, I do the same. But in an IDE, that motion is "Cmd-F, <type>, Enter". Vim's not inherently superior there.
- lizardking 3y agoMy 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.
- scubbo 3y agoOK, but then I'm not clear what part of the workflow is claimed to be unique to Vim, then.
- lizardking 3y agoI was explaining what the workflow in question is, not claiming that is was unique to Vim necessarily.