mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
defaults.vim: Update comment to simplify reverting augroup
closes: #12673
This commit is contained in:
parent
1d7caa58e3
commit
c41b3c9f95
@ -97,7 +97,7 @@ if 1
|
|||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
" Put these in an autocmd group, so that you can revert them with:
|
" Put these in an autocmd group, so that you can revert them with:
|
||||||
" ":augroup vimStartup | exe 'au!' | augroup END"
|
" ":autocmd! vimStartup"
|
||||||
augroup vimStartup
|
augroup vimStartup
|
||||||
au!
|
au!
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ if 1
|
|||||||
" Quite a few people accidentally type "q:" instead of ":q" and get confused
|
" Quite a few people accidentally type "q:" instead of ":q" and get confused
|
||||||
" by the command line window. Give a hint about how to get out.
|
" by the command line window. Give a hint about how to get out.
|
||||||
" If you don't like this you can put this in your vimrc:
|
" If you don't like this you can put this in your vimrc:
|
||||||
" ":augroup vimHints | exe 'au!' | augroup END"
|
" ":autocmd! vimHints"
|
||||||
augroup vimHints
|
augroup vimHints
|
||||||
au!
|
au!
|
||||||
autocmd CmdwinEnter *
|
autocmd CmdwinEnter *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user