Vim brace matching is highlighted in the vim7.4 version, which is turned on by default. But the default parentheses match
The highlight color is light blue, in the light of the blind at the same time, seriously affect our writing code, the most obvious feeling
That is, the consecutive opening of a pair of parentheses, then do not look closely, you can not find the cursor at all?
So, how to change? In the ~/.vimrc
configuration file, add the following line
hi MatchParen ctermbg=DarkRed guibg=lightblue
Which DarkRed
is the color we need to change, I changed it to dark red, the color behind it.
Temporarily do not know what warm use, do not care about it. What I really want is not to change the back of the parentheses after the selected
Change the color of the parentheses itself, but it seems that vim is not possible for the time being. Below is
After the change.
Choose the color you want to see here
Http://www.runoob.com/try/color.php?color=Black
Some color names, VIM does not support, this time to change one on the line
VIM official brackets Match help document
http://vimdoc.sourceforge.net/htmldoc/pi_paren.html#:D Omatchparen
Giveaway: I simple VIM configuration
set mouse=a " 开启鼠标支持set autoindent " 自动缩进set tabstop=4 " 设置所有的tab和缩进, 为4个空格set softtabstop=4set shiftwidth=4set expandtab " 使用空格来替换tabcolorscheme deserthi MatchParen ctermbg=DarkRed guibg=lightblue
Change VIM highlight bracket match color