Settings

Theme

The Physics of Vim

robertames.com

22 points by wgj 2 years ago · 3 comments

Reader

lm7272 2 years 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 2 years 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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection