top | item 39897875

The Physics of Vim

22 points| wgj | 1 year ago |robertames.com

2 comments

order

lm7272|1 year ago

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

Gualdrapo|1 year ago

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