aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/init/special_highlight.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/init/special_highlight.vim')
-rw-r--r--vim/init/special_highlight.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/init/special_highlight.vim b/vim/init/special_highlight.vim
index 50e4dc3..9729183 100644
--- a/vim/init/special_highlight.vim
+++ b/vim/init/special_highlight.vim
@@ -12,7 +12,7 @@ endfunction
12 12
13" Defualt highlight for matched parenthesis is so weird in many colorscheme 13" Defualt highlight for matched parenthesis is so weird in many colorscheme
14" Why the background color is lighter than my caret !? 14" Why the background color is lighter than my caret !?
15highlight MatchParen ctermfg=NONE ctermbg=darkgrey cterm=NONE 15" highlight MatchParen ctermfg=NONE ctermbg=darkgrey cterm=NONE
16highlight LuaParen ctermfg=NONE ctermbg=darkgrey cterm=NONE 16highlight LuaParen ctermfg=NONE ctermbg=darkgrey cterm=NONE
17 17
18" Show trailing spaces 18" Show trailing spaces
@@ -23,6 +23,6 @@ match ExtraWhitespace /\s\+$/
23" define line highlight color 23" define line highlight color
24highlight MultiLineHighlight ctermbg=LightYellow guibg=LightYellow ctermfg=Black guifg=Black 24highlight MultiLineHighlight ctermbg=LightYellow guibg=LightYellow ctermfg=Black guifg=Black
25" highlight the current line 25" highlight the current line
26nnoremap <silent> <leader><leader>h :call matchadd('MultiLineHighlight', '\%'.line('.').'l')<CR> 26nnoremap <silent> <leader>gh :call matchadd('MultiLineHighlight', '\%'.line('.').'l')<CR>
27" clear all the highlighted lines 27" clear all the highlighted lines
28nnoremap <silent> <leader><leader>H :call clearmatches()<CR> 28nnoremap <silent> <leader>gH :call clearmatches()<CR>