3

当我使用 vim 快速工作时,经常出现的烦恼之一是突出显示 {} 或 {} 或 []。当括号或括号彼此相邻时,我需要一秒钟(是的一整秒钟!)才能弄清楚焦点在哪里。我不喜欢依赖闪烁,我仍然希望突出显示匹配的括号/括号。那么我怎样才能删除当前括号/括号的突出显示?

4

3 回答 3

1
:hi MatchParen ctermbg=black guibg=black

表演比赛还可以,但亮点让我发疯。以上将高亮变为黑色,因此当编辑器具有黑色背景时您看不到它

于 2019-08-06T03:06:34.190 回答
0

:NoMatchParen

type :help matchparen for more help on this .

this functionnality is really useful for me, so maybe you can look at the doc a little and find a way to hightlight the matching pair in a different color (or just underline it for example)

于 2013-10-30T16:25:38.993 回答
0

你正在寻找的是

set noshowmatch

在 vimrc 中设置

于 2016-01-22T12:44:30.983 回答