如何在 Vim 中创建行号和文本之间的边框 [英] How to create a border between the line numbers and text in Vim

查看:31
本文介绍了如何在 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

这篇关于如何在 Vim 中创建行号和文本之间的边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆