comparison src/testdir/test_terminal.vim @ 17702:ba18f78c8529 v8.1.1848

patch 8.1.1848: 'langmap' is not used for CTRL-W command in terminal commit https://github.com/vim/vim/commit/a4b2699e28a30dcc4d1696b317f24a8904ec2a06 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 15 20:58:54 2019 +0200 patch 8.1.1848: 'langmap' is not used for CTRL-W command in terminal Problem: 'langmap' is not used for CTRL-W command in terminal. Solution: Push the command in the typeahead buffer instead of the stuff buffer. (closes #4814)
author Bram Moolenaar <Bram@vim.org>
date Thu, 15 Aug 2019 21:00:04 +0200
parents 0da9bc55c31a
children 9fac6d0de69a
comparison
equal deleted inserted replaced
17701:4317f22624e8 17702:ba18f78c8529
1684 call feedkeys("\<C-L>w", 'tx') 1684 call feedkeys("\<C-L>w", 'tx')
1685 call assert_equal(thiswin, win_getid()) 1685 call assert_equal(thiswin, win_getid())
1686 call feedkeys("\<C-W>w", 'tx') 1686 call feedkeys("\<C-W>w", 'tx')
1687 call assert_equal(termwin, win_getid()) 1687 call assert_equal(termwin, win_getid())
1688 1688
1689 set langmap=xjyk
1690 call feedkeys("\<C-L>x", 'tx')
1691 call assert_equal(thiswin, win_getid())
1692 call feedkeys("\<C-W>y", 'tx')
1693 call assert_equal(termwin, win_getid())
1694 set langmap=
1695
1689 call feedkeys("\<C-L>gt", "xt") 1696 call feedkeys("\<C-L>gt", "xt")
1690 call assert_equal(3, tabpagenr()) 1697 call assert_equal(3, tabpagenr())
1691 tabprev 1698 tabprev
1692 call assert_equal(2, tabpagenr()) 1699 call assert_equal(2, tabpagenr())
1693 call assert_equal(termwin, win_getid()) 1700 call assert_equal(termwin, win_getid())