patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't work
Problem: With modifyOtherKeys CTRL-^ doesn't work.
Solution: Handle the exception.
diff --git a/src/testdir/test_termcodes.vim b/src/testdir/test_termcodes.vim
index 6f8c8c0..2678dae 100644
--- a/src/testdir/test_termcodes.vim
+++ b/src/testdir/test_termcodes.vim
@@ -1192,6 +1192,14 @@
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