comparison runtime/doc/terminal.txt @ 16023:dc766e1b0c95

Update runtime files. commit https://github.com/vim/vim/commit/26967617a30e55aedc98b8f14b841d88469abd0e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 17 17:13:16 2019 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Mar 2019 17:15:11 +0100
parents c38fb03a6055
children 0e473e9e70c2
comparison
equal deleted inserted replaced
16022:284797c49db1 16023:dc766e1b0c95
1 *terminal.txt* For Vim version 8.1. Last change: 2019 Feb 22 1 *terminal.txt* For Vim version 8.1. Last change: 2019 Feb 25
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
64 *terminal-typing* 64 *terminal-typing*
65 When the keyboard focus is in the terminal window, typed keys will be sent to 65 When the keyboard focus is in the terminal window, typed keys will be sent to
66 the job. This uses a pty when possible. You can click outside of the 66 the job. This uses a pty when possible. You can click outside of the
67 terminal window to move keyboard focus elsewhere. 67 terminal window to move keyboard focus elsewhere.
68 68
69 *t_CTRL-W_CTRL-W* *t_CTRL-W_:*
69 CTRL-W can be used to navigate between windows and other CTRL-W commands, e.g.: 70 CTRL-W can be used to navigate between windows and other CTRL-W commands, e.g.:
70 CTRL-W CTRL-W move focus to the next window 71 CTRL-W CTRL-W move focus to the next window
71 CTRL-W : enter an Ex command 72 CTRL-W : enter an Ex command
72 See |CTRL-W| for more commands. 73 See |CTRL-W| for more commands.
73 74
74 Special in the terminal window: *CTRL-W_.* *CTRL-W_N* 75 Special in the terminal window: *t_CTRL-W_.* *t_CTRL-W_N*
75 CTRL-W . send a CTRL-W to the job in the terminal 76 CTRL-W . send a CTRL-W to the job in the terminal
76 CTRL-W CTRL-\ send a CTRL-\ to the job in the terminal 77 CTRL-W CTRL-\ send a CTRL-\ to the job in the terminal
77 CTRL-W N go to Terminal-Normal mode, see |Terminal-mode| 78 CTRL-W N go to Terminal-Normal mode, see |Terminal-mode|
78 CTRL-\ CTRL-N go to Terminal-Normal mode, see |Terminal-mode| 79 CTRL-\ CTRL-N go to Terminal-Normal mode, see |Terminal-mode|
79 CTRL-W " {reg} paste register {reg} *CTRL-W_quote* 80 CTRL-W " {reg} paste register {reg} *t_CTRL-W_quote*
80 Also works with the = register to insert the result of 81 Also works with the = register to insert the result of
81 evaluating an expression. 82 evaluating an expression.
82 CTRL-W CTRL-C ends the job, see below |t_CTRL-W_CTRL-C| 83 CTRL-W CTRL-C ends the job, see below |t_CTRL-W_CTRL-C|
83 CTRL-W gt go to next tabpage, same as `gt` 84 CTRL-W gt go to next tabpage, same as `gt` *t_CTRL-W_gt*
84 CTRL-W gT go to previous tabpage, same as `gT` 85 CTRL-W gT go to previous tabpage, same as `gT` *t_CTRL-W_gT*
85 86
86 See option 'termwinkey' for specifying another key instead of CTRL-W that 87 See option 'termwinkey' for specifying another key instead of CTRL-W that
87 will work like CTRL-W. However, typing 'termwinkey' twice sends 'termwinkey' 88 will work like CTRL-W. However, typing 'termwinkey' twice sends 'termwinkey'
88 to the job. For example: 89 to the job. For example:
89 'termwinkey' CTRL-W move focus to the next window 90 'termwinkey' CTRL-W move focus to the next window
90 'termwinkey' : enter an Ex command 91 'termwinkey' : enter an Ex command
91 'termwinkey' 'termwinkey' send 'termwinkey' to the job in the terminal 92 'termwinkey' 'termwinkey' send 'termwinkey' to the job in the terminal
92 'termwinkey' . send 'termwinkey' to the job in the terminal 93 'termwinkey' . send 'termwinkey' to the job in the terminal
93 'termwinkey' CTRL-\ send a CTRL-\ to the job in the terminal 94 'termwinkey' CTRL-\ send a CTRL-\ to the job in the terminal
94 'termwinkey' N go to terminal Normal mode, see below 95 'termwinkey' N go to terminal Normal mode, see below
95 'termwinkey' CTRL-N same as CTRL-W N 96 'termwinkey' CTRL-N same as CTRL-W N |t_CTRL-W_N|
96 'termwinkey' CTRL-C same as |t_CTRL-W_CTRL-C| 97 'termwinkey' CTRL-C same as CTRL-W CTRL-C |t_CTRL-W_CTRL-C|
97 *t_CTRL-\_CTRL-N* 98 *t_CTRL-\_CTRL-N*
98 The special key combination CTRL-\ CTRL-N can be used to switch to Normal 99 The special key combination CTRL-\ CTRL-N can be used to switch to Normal
99 mode, just like this works in any other mode. 100 mode, just like this works in any other mode.
100 *t_CTRL-W_CTRL-C* 101 *t_CTRL-W_CTRL-C*
101 CTRL-W CTRL-C can be typed to forcefully end the job. On MS-Windows a 102 CTRL-W CTRL-C can be typed to forcefully end the job. On MS-Windows a