Compare commits
No commits in common. "c3fd2d2d3b568e727ae8ddf25d4b1a10e774360e" and "e072905ec45ef259fb67112e3dea2a2e9b5d1d7a" have entirely different histories.
c3fd2d2d3b
...
e072905ec4
25
init.vim
25
init.vim
|
@ -465,15 +465,32 @@ augroup END
|
|||
|
||||
" }}}
|
||||
" Show trailing whitepace and spaces before a tab: {{{
|
||||
augroup ShowWhiteSpaceErrors
|
||||
augroup whitespaceerrors
|
||||
autocmd!
|
||||
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL
|
||||
augroup END
|
||||
|
||||
" }}}
|
||||
" automatically reload if color scheme file written {{{
|
||||
" augroup coloreload
|
||||
" autocmd!
|
||||
" autocmd BufWritePost customred256.vim so $MYVIMRC
|
||||
" augroup end
|
||||
"
|
||||
|
||||
" }}}
|
||||
" line numbering {{{
|
||||
" if exists('##CmdlineEnter')
|
||||
" augroup linenumbering
|
||||
" autocmd!
|
||||
" autocmd CmdlineEnter * :redraw | :set number
|
||||
" autocmd CmdlineLeave * :set nonumber
|
||||
" augroup END
|
||||
" endif
|
||||
|
||||
" }}}
|
||||
" Automatically reload .vimrc if changed {{{
|
||||
augroup ReloadVimrc
|
||||
augroup myvimrc
|
||||
autocmd!
|
||||
autocmd BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif
|
||||
augroup END
|
||||
|
@ -486,10 +503,6 @@ augroup QuickFixAutoload
|
|||
autocmd QuickFixCmdPost l* nested botright lwindow
|
||||
augroup END
|
||||
|
||||
augroup OnTerminalOpen
|
||||
autocmd!
|
||||
autocmd TermOpen * setlocal nonumber norelativenumber
|
||||
augroup END
|
||||
" }}}
|
||||
|
||||
"----------------------------------------------------------------------------}}}
|
||||
|
|
Loading…
Reference in New Issue