Skip to content

The Physics of Vim

robertames.com
22 pointswgj2 comments
On HN

Comments

Don't get the argument that motion is somehow significantly better in vim vs. editors because you can search. Ctrl+F "func_name" is pretty ubiquitous surely

I failed to say where they say that exactly, but my takeaway from it is that, unlike Ctrl+F editors, in vi-like the search thing is actually a motion - so it can be chained with whatever command or repetition pattern you like. For example, a bit I do sometimes - visually select from the current cursor position to the first match of foo:

v/foo

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.