diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 6d3ffab030..b959ea08f3 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -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 to exit Nvim")); + && no_reason) { + MSG(_("Type :qa! and press 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. */ diff --git a/test/functional/eval/system_spec.lua b/test/functional/eval/system_spec.lua index 23cea4c038..5e12b6a6a4 100644 --- a/test/functional/eval/system_spec.lua +++ b/test/functional/eval/system_spec.lua @@ -241,7 +241,7 @@ describe('system()', function() ~ | ~ | ~ | - Type :quit to exit Nvim | + Type :qa! and press to exit Nvim | + Type :qa! and press to exit Nvim | + Type :qa! and pr...nges and exit Nvim | ]]) end) it('works fine with NUL, NL, CR', function()