diff options
author | Joel Bradshaw <cincodenada@gmail.com> | 2022-04-24 18:46:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 18:46:56 -0700 |
commit | b7717ed4508e35ed072807d0354b24b5c0527e2c (patch) | |
tree | a68b30f72df0438d450e0045b6a4620a504d6c79 | |
parent | ac3794c351afb8666f0be07c7721c597e3b9e9fe (diff) | |
download | rneovim-b7717ed4508e35ed072807d0354b24b5c0527e2c.tar.gz rneovim-b7717ed4508e35ed072807d0354b24b5c0527e2c.tar.bz2 rneovim-b7717ed4508e35ed072807d0354b24b5c0527e2c.zip |
docs: clarify enhanced modifiers, SHIFT usage #18124
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
-rw-r--r-- | runtime/doc/intro.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt index 09739085a3..4e3dcf850c 100644 --- a/runtime/doc/intro.txt +++ b/runtime/doc/intro.txt @@ -286,10 +286,12 @@ and <> are part of what you type, the context should make this clear. *CTRL-{char}* CTRL-{char} {char} typed as a control character; that is, typing {char} - while holding the CTRL key down. The case of {char} does not - matter; thus CTRL-A and CTRL-a are equivalent. But on some - terminals, using the SHIFT key will produce another code, - don't use it then. + while holding the CTRL key down. The case of {char} is + ignored; thus CTRL-A and CTRL-a are equivalent. But in + some terminals and environments, using the SHIFT key will + produce a distinct code (e.g. CTRL-SHIFT-a); in these + environments using the SHIFT key will not trigger commands + such as CTRL-A. *'option'* 'option' An option, or parameter, that can be set to a value, is @@ -383,6 +385,8 @@ Note: combinations actually work depends on the the UI or host terminal. - When a key is pressed using a meta or alt modifier and no mapping exists for that keypress, Nvim behaves as though <Esc> was pressed before the key. +- It is possible to notate combined modifiers (e.g. <C-A-T> for CTRL-ALT-T), + but your terminal must encode the input for that to work. |tui-input| *<>* Examples are often given in the <> notation. Sometimes this is just to make |