Hah, I didn't think of that! Just before reading this comment I was working along in the editor, furiously pressing j/k. I'll put this to use immediately.
set number
set relativenumber
This turns your line numbers into a hybrid mode that show the numbers relative to your cursor and the actual line number your cursor is currently on.For (a little) more, see:
In addition to counting motions, other great options for getting around include:
% jump to the matching brace/bracket/paren
( jump back a "sentence"
) jump forward a "sentence"
{ jump back a "paragraph"
} jump forward a "paragraph"
Also, getting around by searching can be hugely worthwhile. n jump to the next occurrence of the last search
N " " " previous " " " " " "
* jump to the next occurrence of the word under cursor
# " " " previous " " " " " "I'm now off to read "cmdline.txt" (:help Command-line).
BTW, I just accidentally closed my browser tab (latest version of Firefox) by hitting Ctrl-W when I wanted to delete the previous word in this textbox. That used to drive me mad but when Firefox restored the tab, it also restored the text I'd typed. :)