diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-02-20 17:09:15 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-02-22 02:41:40 -0500 |
commit | 99d4c8c29c4a9371c268cc20e4805709d86fb686 (patch) | |
tree | 6bedd829ee9f073f7940a2ed09ad6829318d71b5 /runtime | |
parent | 9403ce82bce1a2dcda4b01b10b2c01ee42bb4034 (diff) | |
download | rneovim-99d4c8c29c4a9371c268cc20e4805709d86fb686.tar.gz rneovim-99d4c8c29c4a9371c268cc20e4805709d86fb686.tar.bz2 rneovim-99d4c8c29c4a9371c268cc20e4805709d86fb686.zip |
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
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/intro.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt index fdf106a7bb..cbe017e051 100644 --- a/runtime/doc/intro.txt +++ b/runtime/doc/intro.txt @@ -452,7 +452,7 @@ notation meaning equivalent decimal value(s) ~ <C-...> control-key *control* *ctrl* *<C-* <M-...> alt-key or meta-key *meta* *alt* *<M-* <A-...> same as <M-...> *<A-* -<D-...> command-key (Macintosh only) *<D-* +<D-...> command-key or "super" key *<D-* <t_xx> key with "xx" entry in termcap ----------------------------------------------------------------------- |