o9s
is a microblog
home archives search feed blogroll


Best Of Both Worlds

I use relative numbers in Vim. I learned today that you can enable something called hybrid numbers. You still get the benefits of relative numbers, but you also get the absolute line number for the current line. A relative line number of zero is not that useful. It has no negative impacts as far as I can tell to use the absolute line number for the current line.

set number relativenumber
Posted on 2018-04-11   #vim     #til  






← Next post    ยท    Previous post →