1
0
forked from aniani/vim

patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't work

Problem:    With modifyOtherKeys CTRL-^ doesn't work.
Solution:   Handle the exception.
This commit is contained in:
Bram Moolenaar
2019-11-21 23:24:00 +01:00
parent 556ae8ea28
commit 828ffd5963
3 changed files with 22 additions and 5 deletions

View File

@@ -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