aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/keymap_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-07-02 19:37:21 +0300
committerZyX <kp-pav@yandex.ru>2017-07-02 19:37:21 +0300
commit24f0056ca5cb392f1e1bf38d648a6037acf1f1ef (patch)
treee536bbe8ca471672a7fc82fc383c99495007b8df /test/functional/api/keymap_spec.lua
parenta1fee487ba5199ff672a87c5830732c224fa59eb (diff)
downloadrneovim-24f0056ca5cb392f1e1bf38d648a6037acf1f1ef.tar.gz
rneovim-24f0056ca5cb392f1e1bf38d648a6037acf1f1ef.tar.bz2
rneovim-24f0056ca5cb392f1e1bf38d648a6037acf1f1ef.zip
message: Add support for replacing `<` to str2special
Diffstat (limited to 'test/functional/api/keymap_spec.lua')
-rw-r--r--test/functional/api/keymap_spec.lua13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/functional/api/keymap_spec.lua b/test/functional/api/keymap_spec.lua
index b7858888c4..fc3ab2d179 100644
--- a/test/functional/api/keymap_spec.lua
+++ b/test/functional/api/keymap_spec.lua
@@ -281,13 +281,12 @@ describe('get_keymap', function()
command(cmd)
eq({cpomap('\\<C-C>', '\\<C-D>', 'n'), cpomap('\\<C-A>', '\\<C-B>', 'n')},
meths.get_keymap('n'))
- -- FIXME
- -- eq({cpomap('\\<C-C>', '\\<C-D>', 'x'), cpomap('\\<LT>C-A>', '\\<LT>C-B>', 'x')},
- -- meths.get_keymap('x'))
- -- eq({cpomap('<LT>C-C>', '<LT>C-D>', 's'), cpomap('<LT>C-A>', '<LT>C-B>', 's')},
- -- meths.get_keymap('x'))
- -- eq({cpomap('<LT>C-C>', '<LT>C-D>', 'o'), cpomap('<LT>C-A>', '<LT>C-B>', 'o')},
- -- meths.get_keymap('x'))
+ eq({cpomap('\\<C-C>', '\\<C-D>', 'x'), cpomap('\\<lt>C-a>', '\\<lt>C-b>', 'x')},
+ meths.get_keymap('x'))
+ eq({cpomap('<lt>C-c>', '<lt>C-d>', 's'), cpomap('<lt>C-a>', '<lt>C-b>', 's')},
+ meths.get_keymap('s'))
+ eq({cpomap('<lt>C-c>', '<lt>C-d>', 'o'), cpomap('<lt>C-a>', '<lt>C-b>', 'o')},
+ meths.get_keymap('o'))
end
end)
end)