diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-21 23:24:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-21 23:24:00 +0100 |
commit | 828ffd596394f714270a01a55fc3f949a8bd9b35 (patch) | |
tree | bed4a6135c83477a62c792937cc0709eb05d0b96 /src/testdir/test_termcodes.vim | |
parent | 556ae8ea28b4e3e9fc47ad130795009a3080146e (diff) | |
download | vim-git-828ffd596394f714270a01a55fc3f949a8bd9b35.tar.gz |
patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't workv8.1.2333
Problem: With modifyOtherKeys CTRL-^ doesn't work.
Solution: Handle the exception.
Diffstat (limited to 'src/testdir/test_termcodes.vim')
-rw-r--r-- | src/testdir/test_termcodes.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_termcodes.vim b/src/testdir/test_termcodes.vim index 6f8c8c074..2678dae29 100644 --- a/src/testdir/test_termcodes.vim +++ b/src/testdir/test_termcodes.vim @@ -1192,6 +1192,14 @@ func RunTest_modifyOtherKeys(func) call feedkeys('a' .. a:func('X', 9) .. "\<Esc>", 'Lx!') call assert_equal("Ø", getline(1)) + " Ctrl-6 is Ctrl-^ + split aaa + edit bbb + call feedkeys(a:func('6', 5), 'Lx!') + call assert_equal("aaa", bufname()) + bwipe aaa + bwipe bbb + bwipe! set timeoutlen& endfunc |