3 ms·
I'd dare say that, more often than not, one finds the need to jump locally to the cursor position, and not from one wild corner to another, as depicted in the v
by penguin_booze 4y ago
I'd dare say that, more often than not, one finds the need to jump locally to the cursor position, and not from one wild corner to another, as depicted in the video.
When I must do long distance jumps: No matter where I'm, the H, L, and M keys will get me to the top, middle, and bottom lines of the window, respectively. gm will get me to the middle of the row. From there on, relative jumps (set rnu), f, and F will do just fine.
But if you still want to target a particular location, just start searching for that text (/ or ?) - the cursor will be positioned there. If not, tap n a bunch of times, and you're there!
No plugin needed - but that's me. See :help motion.txt.
- stjohnswarts 4y agoI find setting the relative line numbering setting to be quite useful as well If I need to be precise. I generally keep my terminal set to 100 wide so I can guesstimate x "letter distance" pretty accurately
- etra0 4y agoI agree -- I've been using vim for 4 years and jumping around has never been a problem. I use `f`, `t` and `/` a lot and usually that's more than enough (son of course `<n>[jk]`). At this point I'm more bottlenecked for my thinking rather than my motion. I'd argue it's better to first properly learn the motions rather than installing this plugin.