如何在 Vim 中创建行号和文本之间的边框

问题描述:

我希望在行号右侧和文本左侧有一条细边框线.

I'd like to have a thin border line to the right of the line numbers and to the left of the text.

您可以使用不同的颜色来突出显示 LineNr.例如:

You might use different color to highlight LineNr. For example:

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