rename augroups

This commit is contained in:
Ray Elliott 2020-08-01 12:05:46 +01:00
parent d1014f5e79
commit c3fd2d2d3b
1 changed files with 2 additions and 19 deletions

View File

@ -465,32 +465,15 @@ augroup END
" }}} " }}}
" Show trailing whitepace and spaces before a tab: {{{ " Show trailing whitepace and spaces before a tab: {{{
augroup whitespaceerrors augroup ShowWhiteSpaceErrors
autocmd! autocmd!
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL
augroup END 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 {{{ " Automatically reload .vimrc if changed {{{
augroup myvimrc augroup ReloadVimrc
autocmd! autocmd!
autocmd BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif autocmd BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif
augroup END augroup END