mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
docs: clarify enhanced modifiers, SHIFT usage #18124
Co-authored-by: Justin M. Keyes <justinkz@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
parent
ac3794c351
commit
b7717ed450
@ -286,10 +286,12 @@ and <> are part of what you type, the context should make this clear.
|
|||||||
|
|
||||||
*CTRL-{char}*
|
*CTRL-{char}*
|
||||||
CTRL-{char} {char} typed as a control character; that is, typing {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
|
while holding the CTRL key down. The case of {char} is
|
||||||
matter; thus CTRL-A and CTRL-a are equivalent. But on some
|
ignored; thus CTRL-A and CTRL-a are equivalent. But in
|
||||||
terminals, using the SHIFT key will produce another code,
|
some terminals and environments, using the SHIFT key will
|
||||||
don't use it then.
|
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'*
|
||||||
'option' An option, or parameter, that can be set to a value, is
|
'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.
|
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
|
- 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.
|
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
|
Examples are often given in the <> notation. Sometimes this is just to make
|
||||||
|
Loading…
Reference in New Issue
Block a user