Mercurial > vim
diff src/testdir/test_termcodes.vim @ 18683:5ed740336224 v8.1.2333
patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't work
Commit: https://github.com/vim/vim/commit/828ffd596394f714270a01a55fc3f949a8bd9b35
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 21 23:24:00 2019 +0100
patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't work
Problem: With modifyOtherKeys CTRL-^ doesn't work.
Solution: Handle the exception.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Nov 2019 23:30:03 +0100 |
parents | 169c810d4e51 |
children | ac08c7ad9d37 |
line wrap: on
line diff
--- 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