neovim/test/functional/api
Justin M. Keyes 99d4c8c29c keymap: Support <D-...> (super/command key).
Adds support for:
  - api:vim_input("<D-a>")
  - ":nnoremap <C-D-S-...>" and permutations thereof

UIs must capture the modifier and send it as "<D-...>" to vim_input().

Note: Before this commit, any arbitrary ":nnoremap <{foo}-{bar}>"
mapping could already be invoked with feedkeys("\<{foo}-{bar}>"). This
commit supports "D-" as a modifier that can be combined with "C-", "A-",
"S-" in any order.

For non-GUI (terminal) support, user must:
  :set <D-a>={CSI sequence}
then send the {CSI sequence} from their terminal. But this does not work
yet (regression #2204).

Closes #2190
2016-02-22 02:41:40 -05:00
..
buffer_spec.lua test: buffer_spec: fix set_line invocation 2015-07-11 22:33:05 -04:00
menu_spec.lua test/functional: clean up according to luacheck (part 2) 2015-11-23 13:57:21 +01:00
server_notifications_spec.lua test: Use lua to perform sanity API checks 2014-10-16 14:06:54 -03:00
server_requests_spec.lua Tests: fix according to lualint 2016-02-02 20:23:12 +01:00
tabpage_spec.lua test: Use lua to perform sanity API checks 2014-10-16 14:06:54 -03:00
vim_spec.lua keymap: Support <D-...> (super/command key). 2016-02-22 02:41:40 -05:00
window_spec.lua test/functional: clean up according to luacheck (part 2) 2015-11-23 13:57:21 +01:00