How to create a border between line numbers and text in Vim

I want to have a thin border line to the right of line numbers and to the left of text.

+6
source share
2 answers

I do not think that's possible.

However, you can make the gutter wider.

:set numberwidth=3 
+4
source

You can use a different color to highlight LineNr . For instance:

 :hi LineNr cterm=bold ctermbg=gray ctermfg=black gui=bold guibg=gray guifg=white 
+4
source

Source: https://habr.com/ru/post/927225/


All Articles