Mercurial > vim
diff runtime/doc/terminal.txt @ 13437:02b3f719eacb
Update runtime files.
commit https://github.com/vim/vim/commit/b5b7562475ad032a174b893286172de0d2c157cd
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 9 22:22:21 2018 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 09 Mar 2018 22:30:06 +0100 |
parents | 1ffba37fd222 |
children | 33eea5ce5415 |
line wrap: on
line diff
--- a/runtime/doc/terminal.txt +++ b/runtime/doc/terminal.txt @@ -1,4 +1,4 @@ -*terminal.txt* For Vim version 8.0. Last change: 2018 Feb 20 +*terminal.txt* For Vim version 8.0. Last change: 2018 Mar 09 VIM REFERENCE MANUAL by Bram Moolenaar @@ -20,6 +20,7 @@ 1. Basic use |terminal-use| Terminal Modes |Terminal-mode| Cursor style |terminal-cursor-style| Special keys |terminal-special-keys| + Session |terminal-session| Unix |terminal-unix| MS-Windows |terminal-ms-windows| 2. Remote testing |terminal-testing| @@ -163,6 +164,8 @@ Syntax ~ cannot be |abandon|ed. ++hidden Open the terminal in a hidden buffer, no window will be used. + ++norestore Do not include this terminal window + in a session file. ++rows={height} Use {height} for the terminal window height. If the terminal uses the full Vim height (no window above or below @@ -286,6 +289,22 @@ is inverted. Since Vim cannot detect th blinking will also be inverted. +Session ~ + *terminal-session* +A terminal window will be restored when using a session file, if possible and +wanted. + +If "terminal" was removed from 'sessionoptions' then no terminal windows will +be restored. + +If the job in the terminal was finished the window will not be restored. + +If the terminal can be restored, the command that was used to open it will be +used again. To change this use the |term_setrestore()| function. This can +also be used to not restore a specific terminal by setting the command to +"NONE". + + Special keys ~ *terminal-special-keys* Since the terminal emulator simulates an xterm, only escape sequences that