mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
patch 8.1.0033: keys to stop Vim in terminal are wrong
Problem: Keys to stop Vim in terminal are wrong. (Marius Gedminas) Solution: Move ":" to before CTRL-U.
This commit is contained in:
parent
6b810d92a9
commit
acb9effecc
@ -84,7 +84,7 @@ func StopVimInTerminal(buf)
|
|||||||
|
|
||||||
" CTRL-O : works both in Normal mode and Insert mode to start a command line.
|
" CTRL-O : works both in Normal mode and Insert mode to start a command line.
|
||||||
" In Command-line it's inserted, the CTRL-U removes it again.
|
" In Command-line it's inserted, the CTRL-U removes it again.
|
||||||
call term_sendkeys(a:buf, "\<C-O>\<C-U>:qa!\<cr>")
|
call term_sendkeys(a:buf, "\<C-O>:\<C-U>qa!\<cr>")
|
||||||
|
|
||||||
call WaitForAssert({-> assert_equal("finished", term_getstatus(a:buf))})
|
call WaitForAssert({-> assert_equal("finished", term_getstatus(a:buf))})
|
||||||
only!
|
only!
|
||||||
|
@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
33,
|
||||||
/**/
|
/**/
|
||||||
32,
|
32,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user