News for hackers. Stuff that matters.
Re:Vim 9.0 by bmelton on Thursday June 30, 2022 @07:37PM (#31940157)
I gave up absolute line numbers a few years ago in exchange for `:set rnu` and while my navigation capabilities (at least to anywhere I can see) have gotten a lot faster, the ability to `>>` a handful of lines without having to count has felt a ton more productive
Re:Vim 9.0 by threatofrain on Thursday June 30, 2022 @08:33PM (#31940625)
You can also set both relative & absolute line numbers at the same time.
Re:Vim 9.0 by I_complete_me on Friday July 01, 2022 @04:40AM (#31943868)
I have this in my .vimrc to toggle relative on/off with ctrl-n:

> nnoremap <C-n> :exe 'set nu!' &nu ? 'rnu!' : ''