diff --git a/test/old/testdir/test_cmdwin.vim b/test/old/testdir/test_cmdwin.vim index 14170fbb13..e54945f1b6 100644 --- a/test/old/testdir/test_cmdwin.vim +++ b/test/old/testdir/test_cmdwin.vim @@ -21,5 +21,12 @@ func Test_cmdwin_virtual_edit() set ve= cpo-=$ endfunc +" Check that a :normal command can be used to stop Visual mode without side +" effects. +func Test_normal_escape() + call feedkeys("q:i\" foo\:normal! \\\:\" bar\", 'ntx') + call assert_equal('" bar', @:) +endfunc + " vim: shiftwidth=2 sts=2 expandtab