Skip to content

Commit 724ee2b

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 912fa38 + fae4283 commit 724ee2b

37 files changed

+3782
-2865
lines changed

runtime/doc/develop.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*develop.txt* For Vim version 8.0. Last change: 2017 Jan 05
1+
*develop.txt* For Vim version 8.0. Last change: 2017 Jul 31
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -143,9 +143,10 @@ and its environment.
143143

144144
VIM IS... NOT *design-not*
145145

146-
- Vim is not a shell or an Operating System. You will not be able to run a
147-
shell inside Vim or use it to control a debugger. This should work the
148-
other way around: Use Vim as a component from a shell or in an IDE.
146+
- Vim is not a shell or an Operating System. It does provide a terminal
147+
window, in which you can run a shell or debugger. E.g. to be able to do
148+
this over an ssh connection. But if you don't need a text editor with that
149+
it is out of scope (use something like screen or tmux instead).
149150
A satirical way to say this: "Unlike Emacs, Vim does not attempt to include
150151
everything but the kitchen sink, but some people say that you can clean one
151152
with it. ;-)"

runtime/doc/editing.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.0. Last change: 2017 Jul 16
1+
*editing.txt* For Vim version 8.0. Last change: 2017 Aug 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1737,7 +1737,7 @@ There are three different types of searching:
17371737
This searches the same directories, but in a different order.
17381738

17391739
Note that completion for ":find", ":sfind", and ":tabfind" commands do not
1740-
currently work with 'path' items that contain a url or use the double star
1740+
currently work with 'path' items that contain a URL or use the double star
17411741
with depth limiter (/usr/**2) or upward search (;) notations.
17421742

17431743
vim:tw=78:ts=8:ft=help:norl:

runtime/doc/eval.txt

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.0. Last change: 2017 Jul 30
1+
*eval.txt* For Vim version 8.0. Last change: 2017 Aug 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1815,7 +1815,7 @@ v:scrollstart String describing the script or function that caused the
18151815
hit-enter prompt.
18161816

18171817
*v:servername* *servername-variable*
1818-
v:servername The resulting registered |x11-clientserver| name if any.
1818+
v:servername The resulting registered |client-server-name| if any.
18191819
Read-only.
18201820

18211821

@@ -2372,12 +2372,12 @@ tempname() String name for a temporary file
23722372
term_getattr({attr}, {what} Number get the value of attribute {what}
23732373
term_getcursor({buf}) List get the cursor position of a terminal
23742374
term_getjob({buf}) Job get the job associated with a terminal
2375-
term_getline({buf}[, {row}]) String get a line of text from a terminal
2375+
term_getline({buf}, {row}) String get a line of text from a terminal
23762376
term_getsize({buf}) List get the size of a terminal
23772377
term_getstatus({buf}) String get the status of a terminal
23782378
term_gettitle({buf}) String get the title of a terminal
23792379
term_list() List get the list of terminal buffers
2380-
term_scrape({buf}[, {row}]) List get row of a terminal screen
2380+
term_scrape({buf}, {row}) List get row of a terminal screen
23812381
term_sendkeys({buf}, {keys}) none send keystrokes to a terminal
23822382
term_start({cmd}, {options}) Job open a terminal window and run a job
23832383
term_wait({buf}) Number wait for screen to be updated
@@ -7916,8 +7916,9 @@ term_getattr({attr}, {what}) *term_getattr()*
79167916
term_getcursor({buf}) *term_getcursor()*
79177917
Get the cusor position of terminal {buf}. Returns a list with
79187918
three numbers: [rows, cols, visible]. "rows" and "cols" are
7919-
zero based. "visible" is one when the cursor is visible, zero
7920-
when it is hidden.
7919+
one based, the first sceen cell is row 1, column 1.
7920+
"visible" is one when the cursor is visible, zero when it is
7921+
hidden.
79217922

79227923
This is the cursor position of the terminal itself, not of the
79237924
Vim window.
@@ -7930,13 +7931,12 @@ term_getjob({buf}) *term_getjob()*
79307931
Get the Job associated with terminal window {buf}.
79317932
{buf} is used as with |term_getsize()|.
79327933

7933-
term_getline({buf} [, {row}]) *term_getline()*
7934+
term_getline({buf}, {row}) *term_getline()*
79347935
Get a line of text from the terminal window of {buf}.
79357936
{buf} is used as with |term_getsize()|.
79367937

7937-
The first line has {row} zero. When {row} is invalid an empty
7938-
string is returned. When {row} is omitted, the cursor line is
7939-
used.
7938+
The first line has {row} one. When {row} "." the cursor line
7939+
is used. When {row} is invalid an empty string is returned.
79407940

79417941
term_getsize({buf}) *term_getsize()*
79427942
Get the size of terminal {buf}. Returns a list with two
@@ -7971,12 +7971,12 @@ term_list() *term_list()*
79717971
Return a list with the buffer numbers of all buffers for
79727972
terminal windows.
79737973

7974-
term_scrape({buf} [, {row}]) *term_scrape()*
7974+
term_scrape({buf}, {row}) *term_scrape()*
79757975
Get the contents of {row} of terminal screen of {buf}.
79767976
For {buf} see |term_getsize()|.
79777977

7978-
The first {row} is zero. When {row} is invalid an empty list
7979-
is returned. When {row} is omitted the cursor line is used.
7978+
The first line has {row} one. When {row} "." the cursor line
7979+
is used. When {row} is invalid an empty string is returned.
79807980

79817981
Return a List containing a Dict for each screen cell:
79827982
"chars" character(s) at the cell
@@ -8731,6 +8731,7 @@ tag_any_white Compiled with support for any white characters in tags
87318731
files |tag-any-white|.
87328732
tcl Compiled with Tcl interface.
87338733
termguicolors Compiled with true color in terminal support.
8734+
terminal Compiled with |terminal| support.
87348735
terminfo Compiled with terminfo instead of termcap.
87358736
termresponse Compiled with support for |t_RV| and |v:termresponse|.
87368737
textobjects Compiled with support for |text-objects|.

runtime/doc/ft_rust.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ g:rustfmt_options~
116116

117117
*g:rust_playpen_url*
118118
g:rust_playpen_url~
119-
Set this option to override the url for the playpen to use: >
119+
Set this option to override the URL for the playpen to use: >
120120
let g:rust_playpen_url = 'https://play.rust-lang.org/'
121121
<
122122

123123
*g:rust_shortener_url*
124124
g:rust_shortener_url~
125-
Set this option to override the url for the url shortener: >
125+
Set this option to override the URL for the URL shortener: >
126126
let g:rust_shortener_url = 'https://is.gd/'
127127
<
128128

@@ -199,7 +199,7 @@ COMMANDS *rust-commands*
199199
|g:rust_playpen_url| is the base URL to the playpen, by default
200200
"https://play.rust-lang.org/".
201201

202-
|g:rust_shortener_url| is the base url for the shorterner, by
202+
|g:rust_shortener_url| is the base URL for the shorterner, by
203203
default "https://is.gd/"
204204

205205
:RustFmt *:RustFmt*

runtime/doc/gui_x11.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_x11.txt* For Vim version 8.0. Last change: 2017 Jun 27
1+
*gui_x11.txt* For Vim version 8.0. Last change: 2017 Jul 28
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -682,7 +682,7 @@ Of these three, Vim uses PRIMARY when reading and writing the "* register
682682
register. Vim does not access the SECONDARY selection.
683683

684684
Examples: (assuming the default option values)
685-
- Select an URL in Visual mode in Vim. Go to your browser and click the
685+
- Select a URL in Visual mode in Vim. Go to your browser and click the
686686
middle mouse button in the URL text field. The selected text will be
687687
inserted (hopefully!). Note: in Firefox you can set the
688688
middlemouse.contentLoadURL preference to true in about:config, then the

runtime/doc/index.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 8.0. Last change: 2017 Jul 16
1+
*index.txt* For Vim version 8.0. Last change: 2017 Jul 30
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -528,8 +528,10 @@ tag command action in Normal mode ~
528528
|CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]"
529529
|CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^"
530530
|CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _"
531+
|CTRL-W_quote| CTRL-W " terminal window: paste register
531532
|CTRL-W_+| CTRL-W + increase current window height N lines
532533
|CTRL-W_-| CTRL-W - decrease current window height N lines
534+
|CTRL-W_.| CTRL-W . terminal window: type CTRL-W
533535
|CTRL-W_:| CTRL-W : same as |:|, edit a command line
534536
|CTRL-W_<| CTRL-W < decrease current window width N columns
535537
|CTRL-W_=| CTRL-W = make all windows the same height & width
@@ -538,6 +540,7 @@ tag command action in Normal mode ~
538540
|CTRL-W_J| CTRL-W J move current window to the very bottom
539541
|CTRL-W_K| CTRL-W K move current window to the very top
540542
|CTRL-W_L| CTRL-W L move current window to the far right
543+
|CTRL-W_N| CTRL-W N terminal window: go to Terminal mode
541544
|CTRL-W_P| CTRL-W P go to preview window
542545
|CTRL-W_R| CTRL-W R rotate windows upwards N times
543546
|CTRL-W_S| CTRL-W S same as "CTRL-W s"

runtime/doc/intro.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*intro.txt* For Vim version 8.0. Last change: 2017 Jul 17
1+
*intro.txt* For Vim version 8.0. Last change: 2017 Jul 30
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -566,7 +566,7 @@ Ex mode Like Command-line mode, but after entering a command
566566
you remain in Ex mode. Very limited editing of the
567567
command line. |Ex-mode|
568568

569-
There are six ADDITIONAL modes. These are variants of the BASIC modes:
569+
There are seven ADDITIONAL modes. These are variants of the BASIC modes:
570570

571571
*Operator-pending* *Operator-pending-mode*
572572
Operator-pending mode This is like Normal mode, but after an operator
@@ -592,6 +592,11 @@ Insert Normal mode Entered when CTRL-O given in Insert mode. This is
592592
If the 'showmode' option is on "-- (insert) --" is
593593
shown at the bottom of the window.
594594

595+
Terminal Normal mode Using Normal mode in a terminal window. Making
596+
changes is impossible. Use a insert command, such as
597+
"a" or "i", to return control to the job running in
598+
the terminal. Also called |Terminal-mode|.
599+
595600
Insert Visual mode Entered when starting a Visual selection from Insert
596601
mode, e.g., by using CTRL-O and then "v", "V" or
597602
CTRL-V. When the Visual selection ends, Vim returns

runtime/doc/options.txt

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.0. Last change: 2017 Jul 23
1+
*options.txt* For Vim version 8.0. Last change: 2017 Jul 31
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4163,7 +4163,8 @@ A jump table for the options with a short description can be found at |Q_op|.
41634163
L:SpellLocal,-:Conceal,+:Pmenu,=:PmenuSel,
41644164
x:PmenuSbar,X:PmenuThumb,*:TabLine,
41654165
#:TabLineSel,_:TabLineFill,!:CursorColumn,
4166-
.:CursorLine,o:ColorColumn,q:QuickFixLine")
4166+
.:CursorLine,o:ColorColumn,q:QuickFixLine,
4167+
$:StatusLineTerm")
41674168
global
41684169
{not in Vi}
41694170
This option can be used to set highlighting mode for various
@@ -7949,14 +7950,17 @@ A jump table for the options with a short description can be found at |Q_op|.
79497950
NOTE: This option is reset when 'compatible' is set.
79507951

79517952
*'termkey'* *'tk'*
7952-
'termkey' 'tk' string (default "CTRL-W")
7953+
'termkey' 'tk' string (default "")
79537954
local to window
79547955
{not in Vi}
7955-
The key that precedes a Vim command in a terminal window. Other keys
7956+
The key that starts a CTRL-W command in a terminal window. Other keys
79567957
are sent to the job running in the window.
7957-
The string must be one key stroke but can be multiple bytes.
7958-
NOT IMPLEMENTED YET
7959-
7958+
The <> notation can be used, e.g.: >
7959+
:set termkey=<C-L>
7960+
< The string must be one key stroke but can be multiple bytes.
7961+
When not set CTRL-W is used, so that CTRL-W : gets you to the command
7962+
line. If 'termkey' is set to CTRL-L then CTRL-L : gets you to the
7963+
command line.
79607964

79617965
*'termsize'* *'tms'*
79627966
'termsize' 'tms' string (default "")

runtime/doc/pi_getscript.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pi_getscript.txt* For Vim version 7.0. Last change: 2013 Nov 29
1+
*pi_getscript.txt* For Vim version 7.0. Last change: 2017 Aug 01
22
>
33
GETSCRIPT REFERENCE MANUAL by Charles E. Campbell
44
<
@@ -389,7 +389,7 @@ v36 Apr 22, 2013 : * (glts) suggested use of plugin/**/*.vim instead of
389389
plugin/*.vim in globpath() call.
390390
* (Andy Wokula) got warning message when setting
391391
g:loaded_getscriptPlugin
392-
v35 Apr 07, 2012 : * (MengHuan Yu) pointed out that the script url has
392+
v35 Apr 07, 2012 : * (MengHuan Yu) pointed out that the script URL has
393393
changed (somewhat). However, it doesn't work, and
394394
the original one does (under Linux). I'll make it
395395
yet-another-option.

runtime/doc/quickref.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickref.txt* For Vim version 8.0. Last change: 2017 Jul 15
1+
*quickref.txt* For Vim version 8.0. Last change: 2017 Aug 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -964,6 +964,7 @@ Short explanation of each option: *option-list*
964964
'viewdir' 'vdir' directory where to store files with :mkview
965965
'viewoptions' 'vop' specifies what to save for :mkview
966966
'viminfo' 'vi' use .viminfo file upon startup and exiting
967+
'viminfofile' 'vif' file name used for the viminfo file
967968
'virtualedit' 've' when to use virtual editing
968969
'visualbell' 'vb' use visual bell instead of beeping
969970
'warn' warn for shell command when buffer was changed

0 commit comments

Comments
 (0)