mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
vim-patch:8.0.0609: some people still don't know how to quit (#8571)
Problem: For some people the hint about quitting is not sufficient.
Solution: Put <Enter> separately. Also use ":qa!" to get out even when
there are changes.
28a8193e31
This commit is contained in:
parent
367343ae6e
commit
8192267dea
@ -7464,8 +7464,10 @@ static void nv_esc(cmdarg_T *cap)
|
||||
if (restart_edit == 0
|
||||
&& cmdwin_type == 0
|
||||
&& !VIsual_active
|
||||
&& no_reason)
|
||||
MSG(_("Type :quit<Enter> to exit Nvim"));
|
||||
&& no_reason) {
|
||||
MSG(_("Type :qa! and press <Enter> to abandon all changes"
|
||||
" and exit Nvim"));
|
||||
}
|
||||
|
||||
/* Don't reset "restart_edit" when 'insertmode' is set, it won't be
|
||||
* set again below when halfway through a mapping. */
|
||||
|
@ -241,7 +241,7 @@ describe('system()', function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
Type :quit<Enter> to exit Nvim |
|
||||
Type :qa! and press <E...all changes and exit Nvim |
|
||||
]])
|
||||
end)
|
||||
end)
|
||||
@ -448,7 +448,7 @@ describe('systemlist()', function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
Type :quit<Enter> to exit Nvim |
|
||||
Type :qa! and press <E...all changes and exit Nvim |
|
||||
]])
|
||||
end)
|
||||
end)
|
||||
|
@ -494,7 +494,7 @@ describe('Command-line coloring', function()
|
||||
{EOB:~ }|
|
||||
{EOB:~ }|
|
||||
{EOB:~ }|
|
||||
Type :quit<Enter> to exit Nvim |
|
||||
Type :qa! and pr...nges and exit Nvim |
|
||||
]])
|
||||
end)
|
||||
it('works fine with NUL, NL, CR', function()
|
||||
|
Loading…
Reference in New Issue
Block a user