Mercurial > vim
comparison runtime/doc/terminal.txt @ 12192:6947d5bcf57f v8.0.0976
patch 8.0.0976: cannot send lines to a terminal job
commit https://github.com/vim/vim/commit/b241208a13d3e9def36d749b1e824ae694aa85f8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 20 18:09:14 2017 +0200
patch 8.0.0976: cannot send lines to a terminal job
Problem: Cannot send lines to a terminal job.
Solution: Make [range]terminal send selected lines to the job.
Use ++rows and ++cols for the terminal size.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 20 Aug 2017 18:15:04 +0200 |
parents | b80c0172d1a8 |
children | 8d76a56861ec |
comparison
equal
deleted
inserted
replaced
12191:fee055edaaef | 12192:6947d5bcf57f |
---|---|
1 *terminal.txt* For Vim version 8.0. Last change: 2017 Aug 12 | 1 *terminal.txt* For Vim version 8.0. Last change: 2017 Aug 20 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
100 'shell' as the name, prefixed with a "!". If a buffer | 100 'shell' as the name, prefixed with a "!". If a buffer |
101 by this name already exists a number is added in | 101 by this name already exists a number is added in |
102 parentheses. E.g. if "gdb" exists the second terminal | 102 parentheses. E.g. if "gdb" exists the second terminal |
103 buffer will use "!gdb (1)". | 103 buffer will use "!gdb (1)". |
104 | 104 |
105 If [range] is given it is used for the terminal size. | 105 If [range] is given the specified lines are used as |
106 One number specifies the number of rows. Unless the | 106 input for the job. It will not be possible to type |
107 "vertical" modifier is used, then it is the number of | 107 keys in the terminal window. |
108 columns. | |
109 | 108 |
110 Two comma separated numbers are used as "rows,cols". | 109 Two comma separated numbers are used as "rows,cols". |
111 E.g. `:24,80gdb` opens a terminal with 24 rows and 80 | 110 E.g. `:24,80gdb` opens a terminal with 24 rows and 80 |
112 columns. However, if the terminal window spans the | 111 columns. However, if the terminal window spans the |
113 Vim window with, there is no vertical split, the Vim | 112 Vim window with, there is no vertical split, the Vim |
123 window, do not split the current | 122 window, do not split the current |
124 window. Fails if the current buffer | 123 window. Fails if the current buffer |
125 cannot be |abandon|ed. | 124 cannot be |abandon|ed. |
126 ++hidden Open the terminal in a hidden buffer, | 125 ++hidden Open the terminal in a hidden buffer, |
127 no window will be used. | 126 no window will be used. |
127 ++rows={height} Use {height} for the terminal window | |
128 height. | |
129 ++cols={width} Use {width} for the terminal window | |
130 width. | |
128 | 131 |
129 If you want to use more options use the |term_start()| | 132 If you want to use more options use the |term_start()| |
130 function. | 133 function. |
131 | 134 |
132 When the buffer associated with the terminal is unloaded or wiped out the job | 135 When the buffer associated with the terminal is unloaded or wiped out the job |