by sameoldtune · 2y ago · 0 comments
I like “hjkl” movement for nearby characters but the idea of typing numbers to move around a document (e.g. “13k”, “4w”,…) has always baffled me. If something is more than a few lines away I either search for it and go directly or use the mouse to scroll to it.
Searching also has a similar problem where you might land on an earlier match, so it's not perfect either.
Mouse to scroll (scroll not jump?) just feels much slower to me than any of the other solutions.
3 a line
2 another line
1 a third line
4 foo
1 bar
2 bazz
3 fizz buzz
As far as jumping words, I personally feel that it's easy enough to eyeball.edit: I see that they have the note 'There are line number and relative line number on the left.' in the post.
(Although I've now left copy-pastability behind a bit with `list listchars=tab:··▸`... Maybe I should try them again)
That's helpful for sure :) unfortunately I'm often running vim on a remote system though