comparison runtime/doc/terminal.txt @ 20753:661eb972cb22

Update runtime files Commit: https://github.com/vim/vim/commit/acc224064033e5cea21ef7f1eefb356ca06ff11d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 7 21:07:18 2020 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Jun 2020 21:15:04 +0200
parents 74e3316c1d5a
children d4c7b3e9cd17
comparison
equal deleted inserted replaced
20752:47b5de84b7f7 20753:661eb972cb22
1 *terminal.txt* For Vim version 8.2. Last change: 2020 May 24 1 *terminal.txt* For Vim version 8.2. Last change: 2020 Jun 06
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
111 These are defined like any mapping, but apply only when typing keys that are 111 These are defined like any mapping, but apply only when typing keys that are
112 sent to the job running in the terminal. For example, to make F1 switch 112 sent to the job running in the terminal. For example, to make F1 switch
113 to Terminal-Normal mode: > 113 to Terminal-Normal mode: >
114 tnoremap <F1> <C-W>N 114 tnoremap <F1> <C-W>N
115 You can use Esc, but you need to make sure it won't cause other keys to 115 You can use Esc, but you need to make sure it won't cause other keys to
116 break (cursor keys start with an Esc, so they may break): > 116 break (cursor keys start with an Esc, so they may break), this probably only
117 works in the GUI: >
117 tnoremap <Esc> <C-W>N 118 tnoremap <Esc> <C-W>N
118 set notimeout ttimeout timeoutlen=100 119 set notimeout ttimeout timeoutlen=100
119 120
120 You can also create menus similar to terminal mode mappings, but you have to 121 You can also create menus similar to terminal mode mappings, but you have to
121 use |:tlmenu| instead of |:tmenu|. 122 use |:tlmenu| instead of |:tmenu|.