1
0
forked from aniani/vim

patch 8.2.3608: users who type "q:" instead of ":q" are confused

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)
This commit is contained in:
Egor Zvorykin
2021-11-17 14:01:14 +00:00
committed by Bram Moolenaar
parent 9459b8d461
commit 125ffd21f9
4 changed files with 15 additions and 0 deletions

View File

@@ -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('$')

View File

@@ -1255,6 +1255,7 @@ func Test_cmdwin_restore()
CheckScreendump
let lines =<< trim [SCRIPT]
augroup vimHints | au! | augroup END
call setline(1, range(30))
2split
[SCRIPT]

View File

@@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3608,
/**/
3607,
/**/