mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
docs(terminal): clarify CTRL-\ behavior #15171
This commit is contained in:
parent
4b452d4efb
commit
af6948d271
@ -1096,8 +1096,9 @@ tag command action in Command-line editing mode ~
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
5. Terminal mode *terminal-mode-index*
|
5. Terminal mode *terminal-mode-index*
|
||||||
|
|
||||||
In a |terminal| buffer all keys except |CTRL-\_CTRL-N| are forwarded to the
|
In a |terminal| buffer all keys except CTRL-\ are forwarded to the terminal
|
||||||
terminal job. Use CTRL-\_CTRL-N to go to Normal mode.
|
job. If CTRL-\ is pressed, the next key is forwarded unless it is CTRL-N.
|
||||||
|
Use |CTRL-\_CTRL-N| to go to Normal mode.
|
||||||
|
|
||||||
|
|
||||||
You found it, Arthur! *holy-grail*
|
You found it, Arthur! *holy-grail*
|
||||||
|
@ -454,9 +454,10 @@ Ex mode Like Command-line mode, but after entering a command
|
|||||||
command line. |Ex-mode|
|
command line. |Ex-mode|
|
||||||
|
|
||||||
*Terminal-mode*
|
*Terminal-mode*
|
||||||
Terminal mode In Terminal mode all input (except |c_CTRL-\_CTRL-N|)
|
Terminal mode In Terminal mode all input (except CTRL-\) is sent to
|
||||||
is sent to the process running in the current
|
the process running in the current |terminal| buffer.
|
||||||
|terminal| buffer.
|
If CTRL-\ is pressed, the next key is sent unless it
|
||||||
|
is CTRL-N (|CTRL-\_CTRL-N|).
|
||||||
If the 'showmode' option is on "-- TERMINAL --" is shown
|
If the 'showmode' option is on "-- TERMINAL --" is shown
|
||||||
at the bottom of the window.
|
at the bottom of the window.
|
||||||
|
|
||||||
|
@ -47,8 +47,9 @@ Input *terminal-input*
|
|||||||
|
|
||||||
To send input, enter |Terminal-mode| using any command that would enter "insert
|
To send input, enter |Terminal-mode| using any command that would enter "insert
|
||||||
mode" in a normal buffer, such as |i| or |:startinsert|. In this mode all keys
|
mode" in a normal buffer, such as |i| or |:startinsert|. In this mode all keys
|
||||||
except <C-\><C-N> are sent to the underlying program. Use <C-\><C-N> to return
|
except <C-\> are sent to the underlying program. If <C-\> is pressed, the
|
||||||
to normal-mode. |CTRL-\_CTRL-N|
|
next key is sent unless it is <C-N>. Use <C-\><C-N> to return to normal-mode.
|
||||||
|
|CTRL-\_CTRL-N|
|
||||||
|
|
||||||
Terminal-mode forces these local options:
|
Terminal-mode forces these local options:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user