summaryrefslogtreecommitdiffstats
path: root/runtime/defaults.vim
diff options
context:
space:
mode:
authorBalki <git.user@balki.me>2023-07-14 16:59:40 +0000
committerChristian Brabandt <cb@256bit.org>2023-08-09 20:07:26 +0200
commitc41b3c9f95ac57646804977edea496705618cc93 (patch)
tree74dd5e1901865ad67852c8d95c62f6c9a37b943d /runtime/defaults.vim
parent1d7caa58e3c87f75a4becbceabbd1af181ace11e (diff)
defaults.vim: Update comment to simplify reverting augroup
closes: #12673
Diffstat (limited to 'runtime/defaults.vim')
-rw-r--r--runtime/defaults.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/defaults.vim b/runtime/defaults.vim
index 9b4ecfeafa..67659895f2 100644
--- a/runtime/defaults.vim
+++ b/runtime/defaults.vim
@@ -97,7 +97,7 @@ if 1
filetype plugin indent on
" Put these in an autocmd group, so that you can revert them with:
- " ":augroup vimStartup | exe 'au!' | augroup END"
+ " ":autocmd! vimStartup"
augroup vimStartup
au!
@@ -115,7 +115,7 @@ if 1
" 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.
" If you don't like this you can put this in your vimrc:
- " ":augroup vimHints | exe 'au!' | augroup END"
+ " ":autocmd! vimHints"
augroup vimHints
au!
autocmd CmdwinEnter *