hilight overlength function added
This commit is contained in:
6
.vimrc
6
.vimrc
@@ -16,6 +16,12 @@ set expandtab
|
|||||||
" Set to show invisibles (tabs & trailing spaces) & their highlight color
|
" Set to show invisibles (tabs & trailing spaces) & their highlight color
|
||||||
set list listchars=tab:»\ ,trail:·
|
set list listchars=tab:»\ ,trail:·
|
||||||
|
|
||||||
|
function! Highlight()
|
||||||
|
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
|
||||||
|
match OverLength /\%81v.\+/
|
||||||
|
endfunction
|
||||||
|
nnoremap _h :call Highlight()<CR>
|
||||||
|
|
||||||
|
|
||||||
""""""""""""""""""""
|
""""""""""""""""""""
|
||||||
" GnuPG Extensions "
|
" GnuPG Extensions "
|
||||||
|
Reference in New Issue
Block a user