Mercurial > vim
diff runtime/doc/options.txt @ 11757:74abb6c84984 v8.0.0761
patch 8.0.0761: options not set properly for a terminal buffer
commit https://github.com/vim/vim/commit/1f2903c43109b16594d141a730659317b15f388d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 23 19:51:01 2017 +0200
patch 8.0.0761: options not set properly for a terminal buffer
Problem: Options of a buffer for a terminal window are not set properly.
Solution: Add "terminal" value for 'buftype'. Make 'buftype' and
'bufhidden' not depend on the quickfix feature.
Also set the buffer name and show "running" or "finished" in the
window title.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 23 Jul 2017 20:00:05 +0200 |
parents | 5cd9ba96561d |
children | 4f7081eb1e26 |
line wrap: on
line diff
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 8.0. Last change: 2017 Jul 15 +*options.txt* For Vim version 8.0. Last change: 2017 Jul 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1319,8 +1319,6 @@ A jump table for the options with a shor 'bufhidden' 'bh' string (default: "") local to buffer {not in Vi} - {not available when compiled without the |+quickfix| - feature} This option specifies what happens when a buffer is no longer displayed in a window: <empty> follow the global 'hidden' option @@ -1355,8 +1353,6 @@ A jump table for the options with a shor 'buftype' 'bt' string (default: "") local to buffer {not in Vi} - {not available when compiled without the |+quickfix| - feature} The value of this option specifies the type of a buffer: <empty> normal buffer nofile buffer which is not related to a file and will not be @@ -1369,6 +1365,8 @@ A jump table for the options with a shor or list of locations |:lwindow| help help buffer (you are not supposed to set this manually) + terminal buffer for a |terminal| (you are not supposed to set + this manually) This option is used together with 'bufhidden' and 'swapfile' to specify special kinds of buffers. See |special-buffers|. @@ -7760,19 +7758,26 @@ A jump table for the options with a shor {not in Vi} The key that precedes a Vim command in a terminal window. Other keys are sent to the job running in the window. - The string must be one key stroke. + The string must be one key stroke but can be multiple bytes. NOT IMPLEMENTED YET - *'thesaurus'* *'tsr'* + *'termsize'* *'tms'* 'termsize' 'tms' string (default "") local to window {not in Vi} Size of the |terminal| window. Format: {rows}x{columns}. - When empty the terminal gets the size from the window. - - When set (e.g., "24x80") the terminal size is fixed. If the window - is smaller only the top-left part is displayed. - NOT IMPLEMENTED YET + - When set (e.g., "24x80") the terminal size is not adjusted to the + window size. If the window is smaller only the top-left part is + displayed. + When rows is zero then use the height of the window. + When columns is zero then use the width of the window. + For example: "30x0" uses 30 rows with the current window width. + Using "0x0" is the same as empty. + Note that the command running in the terminal window may still change + the size of the terminal. In that case the Vim window will be + adjusted to that size, if possible. *'terse'* *'noterse'* 'terse' boolean (default off)