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

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.



Agreed, I do the same.

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


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.


OK, but then I'm not clear what part of the workflow is claimed to be unique to Vim, then.


I was explaining what the workflow in question is, not claiming that is was unique to Vim necessarily.




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

Search: