国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

Vim highlights the line where the cursor is located. The default highlighting effect is the bottom horizontal line. How to change it to background highlighting?
阿神
阿神 2017-05-16 16:34:36
0
1
1149

It’s like this. The bottom edge covers the symbol. It’s very uncomfortable to write code. How to set the line background highlight

阿神
阿神

閉關(guān)修行中......

reply all(1)
洪濤

Solution

Just add the following setting code~/.vimrc. For specific colors, test it yourself

set cursorcolumn  "or set cuc 設(shè)置光標所在的列
set cursorline    "or set cul 設(shè)置光標所在的行
" cterm 表示原生vim設(shè)置央視, 設(shè)置為NONE表示可以自定義設(shè)置
" red(紅),white(白),black(黑),green(綠),yellow(黃),blue(藍),purple(紫),
" gray(灰),brown(棕),tan(褐色),syan(青色)
" 更多高亮顏色設(shè)置, 可以:h highlight 查看manual
"highlight CursorLine   cterm=NONE ctermbg=blue ctermfg=NONE guibg=NONE guifg=NONE
"highlight CursorColumn cterm=NONE ctermbg=blue ctermfg=NONE guibg=NONE guifg=NONE

Notes

If you have set a theme style, as shown below, most theme styles use underline. .vimrc的樣式, 后面的會覆蓋前面的. Therefore, you need to put the background highlight style behind the theme.

" /usr/sare/vim/vim80/colors
"colorscheme elflord
"colorscheme koehler
"colorscheme pablo
"colorscheme delek
"colorscheme evening
"colorscheme slate
"colorscheme darkblue
"colorscheme desert
"colorscheme industry
colorscheme murphy
"colorscheme ron
"colorscheme torte
"colorscheme molokai
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template