diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-09 13:31:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-09 13:31:42 +0800 |
commit | fda9adab5d0688fbd94544dc7146d0957c728c69 (patch) | |
tree | 6a340fc63425a5023e5eb633118102bf68e0e0d6 /test/functional/ui/input_spec.lua | |
parent | 012c055804876346a3ef5c1d0cdb8e0a7ee58481 (diff) | |
download | rneovim-fda9adab5d0688fbd94544dc7146d0957c728c69.tar.gz rneovim-fda9adab5d0688fbd94544dc7146d0957c728c69.tar.bz2 rneovim-fda9adab5d0688fbd94544dc7146d0957c728c69.zip |
vim-patch:partial:8.1.2333: with modifyOtherKeys CTRL-^ doesn't work (#18048)
Problem: With modifyOtherKeys CTRL-^ doesn't work.
Solution: Handle the exception.
https://github.com/vim/vim/commit/828ffd596394f714270a01a55fc3f949a8bd9b35
Diffstat (limited to 'test/functional/ui/input_spec.lua')
-rw-r--r-- | test/functional/ui/input_spec.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/ui/input_spec.lua b/test/functional/ui/input_spec.lua index 9df7531016..b581e147e3 100644 --- a/test/functional/ui/input_spec.lua +++ b/test/functional/ui/input_spec.lua @@ -7,6 +7,7 @@ local curbuf_contents = helpers.curbuf_contents local meths = helpers.meths local exec_lua = helpers.exec_lua local write_file = helpers.write_file +local funcs = helpers.funcs local Screen = require('test.functional.ui.screen') before_each(clear) @@ -204,6 +205,13 @@ describe('input pairs', function() end) end) +it('Ctrl-6 is Ctrl-^ vim-patch:8.1.2333', function() + command('split aaa') + command('edit bbb') + feed('<C-6>') + eq('aaa', funcs.bufname()) +end) + describe('input non-printable chars', function() after_each(function() os.remove('Xtest-overwrite') |