aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_mapping.vim
diff options
context:
space:
mode:
Diffstat (limited to 'test/old/testdir/test_mapping.vim')
-rw-r--r--test/old/testdir/test_mapping.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/old/testdir/test_mapping.vim b/test/old/testdir/test_mapping.vim
index b695c9e29b..ec57bea59e 100644
--- a/test/old/testdir/test_mapping.vim
+++ b/test/old/testdir/test_mapping.vim
@@ -1084,6 +1084,11 @@ func Test_map_cmdkey()
unmap <F3>
unmap! <F3>
%bw!
+
+ " command line ending in "0" is handled without errors
+ onoremap ix <cmd>eval 0<cr>
+ call feedkeys('dix.', 'xt')
+ ounmap ix
endfunc
" text object enters visual mode