2 ms·
Previously I would use 25j/25k to go up and down 25 lines (for e.g.) but I've recently started using a pair of bindings to jump up/down 10 lines at a time. This
by 000ooo000 2y ago
Previously I would use 25j/25k to go up and down 25 lines (for e.g.) but I've recently started using a pair of bindings to jump up/down 10 lines at a time. This seems to be striking a nice balance between my natural instinct to simply go up/down toward the desired line and doing it without a bunch of unnecessary keystrokes; I get ~60 lines on screen so I'm usually only a couple of keystrokes away from the line I want. I was finding that a number of lines requiring my right hand to type (e.g. 7-10 on my split KB) meant my right hand was moving up and then back down to the home row for the jk keystroke, which was slow and felt bad. With the 10 line jumps, most of the time, I only need <6 more lines to reach the line I want which my left hand will press leaving my right hand to jk. Seems a silly thing to worry about but doing it often grated on me.
Re. your remarks about d5w: give the t/T and f/F operators a look, if you haven't already. I use these far more than numbered motions when it comes to line based motion. https://unix.stackexchange.com/questions/146824/what-is-the-difference-between-find-and-till-in-vim https://unix.stackexchange.com/questions/146824/what-is-the-...