VIM突出显示整个当前行 [英] VIM Highlight the whole current line
本文介绍了VIM突出显示整个当前行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在VIM中突出显示当前所有行的最佳方法是什么?在某些IDE中,我可以设置我正在编辑的行的某种程度的不透明度20%,这非常适合快速找到我所在的位置.
What is the best way to highlight the whole current line in VIM? In some IDEs I am able to set some sort of 20% opacity of the line I am editing, this is great to find where I am rather quickly.
推荐答案
要突出显示当前行,请使用
To highlight the current line use
:set cursorline
要突出显示当前列,请使用
To highlight the current column use
:set cursorcolumn
此外观可以修改.看看:help hl-CursorLine
或hl-CursorColumn
.
The visual appearance of this can be modified. Have a look around :help hl-CursorLine
or hl-CursorColumn
.
这篇关于VIM突出显示整个当前行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文