cleanup some vim configs, highlight long parts of lines
This commit is contained in:
parent
82339f122b
commit
8600e668c5
3 changed files with 32 additions and 25 deletions
|
|
@ -6,7 +6,7 @@ filetype plugin indent on
|
|||
let g:netrw_liststyle = 3
|
||||
set nobackup
|
||||
set noswapfile
|
||||
set pastetoggle=<F2>
|
||||
set pastetoggle=<F3>
|
||||
set nowrap
|
||||
|
||||
set background=dark
|
||||
|
|
@ -17,8 +17,10 @@ set number relativenumber
|
|||
set numberwidth=1
|
||||
set cursorline
|
||||
set cursorcolumn
|
||||
autocmd WinEnter * if !exists('w:overLengthMatchId') | let w:overLengthMatchId = matchadd('OverLength', '\%81v.\+\%<122v') | endif
|
||||
autocmd WinEnter * if !exists('w:reallyOverLengthMatchId') | let w:reallyOverLengthMatchId = matchadd('ReallyOverLength', '\%121v.\+') | endif
|
||||
highlight OverLength ctermbg=DarkRed ctermfg=white guibg=#352e10
|
||||
match OverLength /\%81v.\+/
|
||||
highlight ReallyOverLength ctermbg=Red ctermfg=white guibg=#330000
|
||||
set termguicolors
|
||||
set ruler
|
||||
set list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue