得到的
当我重新执行命令source .vimrc时高亮的颜色消失,可能是因为.vimrc中colorscheme desert命令重新source desert.vim文件,使得showmarks设置的高亮命令失效。
所以在.vimrc中添加以下命令。
hi default ShowMarksHLl ctermfg=darkblue ctermbg=blue cterm=bold guifg=blue guibg=lightblue gui=bold
hi default ShowMarksHLu ctermfg=darkblue ctermbg=blue cterm=bold guifg=blue guibg=lightblue gui=bold
hi default ShowMarksHLo ctermfg=darkblue ctermbg=blue cterm=bold guifg=blue guibg=lightblue gui=bold
hi default ShowMarksHLm ctermfg=darkblue ctermbg=blue cterm=bold guifg=blue guibg=lightblue gui=bold
如果不喜欢蓝色
可以用其他颜色
"hi ShowMarksHLl ctermbg=Yellow ctermfg=Black guibg=#FFDB72 guifg=Black
"hi ShowMarksHLu ctermbg=Magenta ctermfg=Black guibg=#FFB3FF guifg=Black
阅读(1314) | 评论(0) | 转发(0) |