summaryrefslogtreecommitdiff
path: root/src/testdir/test_autocmd.vim
diff options
context:
space:
mode:
authorEgor Zvorykin <egzvor@gmail.com>2021-11-17 14:01:14 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-17 14:01:14 +0000
commit125ffd21f9601a90b845f1d50c24da0d3938bb59 (patch)
tree589c77f58da8397c31ccfdb82a6f80f7a3d61320 /src/testdir/test_autocmd.vim
parent9459b8d461d6f8345bfa3fb9b3b4297a7950b0bc (diff)
downloadvim-git-125ffd21f9601a90b845f1d50c24da0d3938bb59.tar.gz
patch 8.2.3608: users who type "q:" instead of ":q" are confusedv8.2.3608
Problem: Users who type "q:" instead of ":q" are confused. Solution: Add an autocmd to give a message that explains this is the command-line window. (Egor Zvorykin, closes #9146)
Diffstat (limited to 'src/testdir/test_autocmd.vim')
-rw-r--r--src/testdir/test_autocmd.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index 9eb718f9d..045320e5f 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -2458,6 +2458,7 @@ func Test_autocmd_CmdWinEnter()
CheckFeature cmdwin
let lines =<< trim END
+ augroup vimHints | au! | augroup END
let b:dummy_var = 'This is a dummy'
autocmd CmdWinEnter * quit
let winnr = winnr('$')