A lot of vim commands can take a number referring to the number of lines that the command will act on.
Is it possible to show the line numbers relative to the current line? Something like the following:
3: some text here
2: more text
1: This is the line above where the cursor is
0: The cursor is on this line
1: This is the line after the cursor
2: More text here
:set nu rnu– user1068352 Apr 14 '21 at 08:36:set number relativenumber. It's useful those shorter versions of commands, but I like the full version to keep them in mind easier. – Enrique René Mar 26 '22 at 14:03