3 ms·
The trick is to set both number, and relative number. You then get line numbers in the side. The line your cursor is on is the absolute line, but above and be
by mattpallissard 2y ago
The trick is to set both number, and relative number. You then get line numbers in the side. The line your cursor is on is the absolute line, but above and below them are offsets. Makes jumping up/down lines easy. So the cursor sitting on line 4 of a file looks like this
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.
- Repulsion9513 2y agoI don't like number because it makes it harder to copy-paste from vim. LOL (Although I've now left copy-pastability behind a bit with `list listchars=tab:··▸`... Maybe I should try them again)
- mattpallissard 2y agoThat's why I set the vim copy-paste buffer to the operating system clipboard. So you can use visual select and y/x.
- Repulsion9513 2y ago... huh! Today I learned that visual selecting throws stuff in PRIMARY. (and also "* "+) That's helpful for sure :) unfortunately I'm often running vim on a remote system though