Skip to content

Commit 9423749

Browse files
committed
Updated runtime files.
1 parent d788f6f commit 9423749

File tree

9 files changed

+88
-233
lines changed

9 files changed

+88
-233
lines changed

runtime/doc/editing.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.0. Last change: 2016 Nov 24
1+
*editing.txt* For Vim version 8.0. Last change: 2017 Apr 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1558,6 +1558,13 @@ If you want to automatically reload a file when it has been changed outside of
15581558
Vim, set the 'autoread' option. This doesn't work at the moment you write the
15591559
file though, only when the file wasn't changed inside of Vim.
15601560

1561+
If you do not want to be asked or automatically reload the file, you can use
1562+
this: >
1563+
set buftype=nofile
1564+
1565+
Or, when starting gvim from a shell: >
1566+
gvim file.log -c "set buftype=nofile"
1567+
15611568
Note that if a FileChangedShell autocommand is defined you will not get a
15621569
warning message or prompt. The autocommand is expected to handle this.
15631570

runtime/doc/eval.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.0. Last change: 2017 Apr 09
1+
*eval.txt* For Vim version 8.0. Last change: 2017 Apr 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6996,7 +6996,7 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
69966996

69976997
This function can be used to create a quickfix list
69986998
independent of the 'errorformat' setting. Use a command like
6999-
":cc 1" to jump to the first position.
6999+
`:cc 1` to jump to the first position.
70007000

70017001

70027002
*setreg()*
@@ -10686,7 +10686,7 @@ as this example shows: >
1068610686
The "<CR>" here is a real CR character, type CTRL-V Enter to get it.
1068710687

1068810688
When the |+eval| feature is available the ":" is remapped to add a double
10689-
quote, which has the effect of commenging-out the command. without the
10689+
quote, which has the effect of commenting-out the command. without the
1069010690
|+eval| feature the nnoremap command is skipped and the command is executed.
1069110691

1069210692
==============================================================================

runtime/doc/index.txt

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

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -309,10 +309,10 @@ tag char note action in Normal mode ~
309309
|B| B 1 cursor N WORDS backward
310310
|C| ["x]C 2 change from the cursor position to the end
311311
of the line, and N-1 more lines [into
312-
buffer x]; synonym for "c$"
312+
register x]; synonym for "c$"
313313
|D| ["x]D 2 delete the characters under the cursor
314314
until the end of the line and N-1 more
315-
lines [into buffer x]; synonym for "d$"
315+
lines [into register x]; synonym for "d$"
316316
|E| E 1 cursor forward to the end of WORD N
317317
|F| F{char} 1 cursor to the Nth occurrence of {char} to
318318
the left
@@ -329,22 +329,22 @@ tag char note action in Normal mode ~
329329
opposite direction
330330
|O| O 2 begin a new line above the cursor and
331331
insert text, repeat N times
332-
|P| ["x]P 2 put the text [from buffer x] before the
332+
|P| ["x]P 2 put the text [from register x] before the
333333
cursor N times
334334
|Q| Q switch to "Ex" mode
335335
|R| R 2 enter replace mode: overtype existing
336336
characters, repeat the entered text N-1
337337
times
338-
|S| ["x]S 2 delete N lines [into buffer x] and start
338+
|S| ["x]S 2 delete N lines [into register x] and start
339339
insert; synonym for "cc".
340340
|T| T{char} 1 cursor till after Nth occurrence of {char}
341341
to the left
342342
|U| U 2 undo all latest changes on one line
343343
|V| V start linewise Visual mode
344344
|W| W 1 cursor N WORDS forward
345345
|X| ["x]X 2 delete N characters before the cursor [into
346-
buffer x]
347-
|Y| ["x]Y yank N lines [into buffer x]; synonym for
346+
register x]
347+
|Y| ["x]Y yank N lines [into register x]; synonym for
348348
"yy"
349349
|ZZ| ZZ store current file if modified, and exit
350350
|ZQ| ZQ exit current file always
@@ -367,12 +367,12 @@ tag char note action in Normal mode ~
367367
|`}| `} 1 cursor to the end of the current paragraph
368368
|a| a 2 append text after the cursor N times
369369
|b| b 1 cursor N words backward
370-
|c| ["x]c{motion} 2 delete Nmove text [into buffer x] and start
370+
|c| ["x]c{motion} 2 delete Nmove text [into register x] and
371+
start insert
372+
|cc| ["x]cc 2 delete N lines [into register x] and start
371373
insert
372-
|cc| ["x]cc 2 delete N lines [into buffer x] and start
373-
insert
374-
|d| ["x]d{motion} 2 delete Nmove text [into buffer x]
375-
|dd| ["x]dd 2 delete N lines [into buffer x]
374+
|d| ["x]d{motion} 2 delete Nmove text [into register x]
375+
|dd| ["x]dd 2 delete N lines [into register x]
376376
|do| do 2 same as ":diffget"
377377
|dp| dp 2 same as ":diffput"
378378
|e| e 1 cursor forward to the end of word N
@@ -398,16 +398,16 @@ tag char note action in Normal mode ~
398398
|q?| q? edit ? command-line in command-line window
399399
|r| r{char} 2 replace N chars with {char}
400400
|s| ["x]s 2 (substitute) delete N characters [into
401-
buffer x] and start insert
401+
register x] and start insert
402402
|t| t{char} 1 cursor till before Nth occurrence of {char}
403403
to the right
404404
|u| u 2 undo changes
405405
|v| v start characterwise Visual mode
406406
|w| w 1 cursor N words forward
407407
|x| ["x]x 2 delete N characters under and after the
408-
cursor [into buffer x]
409-
|y| ["x]y{motion} yank Nmove text [into buffer x]
410-
|yy| ["x]yy yank N lines [into buffer x]
408+
cursor [into register x]
409+
|y| ["x]y{motion} yank Nmove text [into register x]
410+
|yy| ["x]yy yank N lines [into register x]
411411
|z| z{char} commands starting with 'z', see |z| below
412412
|{| { 1 cursor N paragraphs backward
413413
|bar| | 1 cursor to column N

runtime/doc/options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7805,7 +7805,7 @@ A jump table for the options with a short description can be found at |Q_op|.
78057805
'timeout' 'to' boolean (default on)
78067806
global
78077807
*'ttimeout'* *'nottimeout'*
7808-
'ttimeout' boolean (default off, set in |defaults.vim|))
7808+
'ttimeout' boolean (default off, set in |defaults.vim|)
78097809
global
78107810
{not in Vi}
78117811
These two options together determine the behavior when part of a
@@ -7840,7 +7840,7 @@ A jump table for the options with a short description can be found at |Q_op|.
78407840
global
78417841
{not in all versions of Vi}
78427842
*'ttimeoutlen'* *'ttm'*
7843-
'ttimeoutlen' 'ttm' number (default -1, set to 100 in |defaults.vim|))
7843+
'ttimeoutlen' 'ttm' number (default -1, set to 100 in |defaults.vim|)
78447844
global
78457845
{not in Vi}
78467846
The time in milliseconds that is waited for a key code or mapped key

runtime/doc/tags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
945945
't_F7' term.txt /*'t_F7'*
946946
't_F8' term.txt /*'t_F8'*
947947
't_F9' term.txt /*'t_F9'*
948+
't_GP' term.txt /*'t_GP'*
948949
't_IE' term.txt /*'t_IE'*
949950
't_IS' term.txt /*'t_IS'*
950951
't_K1' term.txt /*'t_K1'*
@@ -8527,6 +8528,7 @@ t_F6 term.txt /*t_F6*
85278528
t_F7 term.txt /*t_F7*
85288529
t_F8 term.txt /*t_F8*
85298530
t_F9 term.txt /*t_F9*
8531+
t_GP term.txt /*t_GP*
85308532
t_IE term.txt /*t_IE*
85318533
t_IS term.txt /*t_IS*
85328534
t_K1 term.txt /*t_K1*

runtime/doc/term.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*term.txt* For Vim version 8.0. Last change: 2017 Feb 02
1+
*term.txt* For Vim version 8.0. Last change: 2017 Apr 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -314,6 +314,7 @@ Added by Vim (there are no standard codes for these):
314314
t_IS set icon text start *t_IS* *'t_IS'*
315315
t_IE set icon text end *t_IE* *'t_IE'*
316316
t_WP set window position (Y, X) in pixels *t_WP* *'t_WP'*
317+
t_GP get window position (Y, X) in pixels *t_GP* *'t_GP'*
317318
t_WS set window size (height, width) in characters *t_WS* *'t_WS'*
318319
t_SI start insert mode (bar cursor shape) *t_SI* *'t_SI'*
319320
t_SR start replace mode (underline cursor shape) *t_SR* *'t_SR'*

runtime/doc/todo.txt

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 8.0. Last change: 2017 Apr 09
1+
*todo.txt* For Vim version 8.0. Last change: 2017 Apr 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,6 +38,10 @@ entered there will not be repeated below, unless there is extra information.
3838
Remove the Farsi code?
3939

4040
+channel:
41+
- job_stop() should not always close the channel, e.g. for "int".
42+
(Martin Gammelsæter, 2017 Apr 11, #1632)
43+
Only assume killed on "kill".
44+
Check job->jv_status not to be JOB_ENDED.
4145
- Try out background make plugin:
4246
https://github.com/AndrewVos/vim-make-background
4347
- Problem with stderr on Windows? (Vincent Rischmann, 2016 Aug 31, #1026)
@@ -112,6 +116,10 @@ manager. Problem with Motif?
112116

113117
Memory leak in test97? The string is actually freed. Weird.
114118

119+
Patch for flickering redraw. (Hirohito Higashi, 2017 Apr 23, #1637)
120+
121+
New value "uselast" for 'switchbuf'. (Lemonboy, 2017 Apr 23, #1652)
122+
115123
Add a toolbar in the terminal. Can be global, above all windows, or specific
116124
for one window.
117125
Use tb_set(winid, [{'text': 'stop', 'cb': callback, 'hi': 'Green'}])
@@ -193,13 +201,18 @@ Patch for restoring wide characters in the console buffer.
193201
Patch to fix escaping of job arguments. (Yasuhiro Matsumoto, 2016 Oct 5)
194202
Update Oct 14: https://gist.github.com/mattn/d47e7d3bfe5ade4be86062b565a4bfca
195203

204+
Characters deleted on completion. (Adrià Farrés, 2017 Apr 20, #1645)
205+
Remarks from Christian Brabandt (Apr 21)
206+
196207
The TermResponse event is not triggered when a plugin has set 'eventignore' to
197208
"all". Netrw does this. (Gary Johnson, 2017 Jan 24)
198209
Postpone the event until 'eventignore' is reset.
199210

200211
Patch to make urxvt mouse work better, recognize Esc[*M termcap code.
201212
(Maurice Bos, 2017 Feb 17, #1486)
202213

214+
Expanding /**/ is slow. Idea by Luc Hermitte, 2017 Apr 14.
215+
203216
Once .exe with updated installer is available: Add remark to download page
204217
about /S and /D options (Ken Takata, 2016 Apr 13)
205218
Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
@@ -277,11 +290,21 @@ Patch to add "cmdline" completion to getcompletion(). (Shougo, Oct 1, #1140)
277290
Feature request: Complete members of a dictionary. (Luc Hermitte, 2017 Jan 4,
278291
#1350)
279292

293+
Undo message is not always properly displayed. Patch by Ken Takata, 2013 oct
294+
3. Doesn't work properly according to Yukihiro Nakadaira.
295+
Also see #1635.
296+
280297
Patch for systemlist(), add empty item. (thinca, Sep 30, #1135)
281298
Add an argument to choose binary or non-binary (like readfile()), when omitted
282299
use the current behavior.
283300
Include the test.
284301

302+
Patch to add tagfunc(). Cleaned up by Christian Brabandt, 2013 Jun 22.
303+
New update 2017 Apr 10, #1628
304+
305+
Unnamed register only contains the last deleted text when appending deleted
306+
text to a register. (Wolfgang Jeltsch, reproduced by Ben Fritz, 2017 Apr 10)
307+
285308
When 'keywordprg' starts with ":" the argument is still escaped as a shell
286309
command argument. (Romain Lafourcade, 2016 Oct 16, #1175)
287310

@@ -895,9 +918,6 @@ Patch to handle integer overflow. (Aaron Burrow, 2013 Dec 12)
895918
Patch to add "ntab" item in 'listchars' to repeat first character. (Nathaniel
896919
Braun, pragm, 2013 Oct 13) A better solution 2014 Mar 5.
897920

898-
Undo message is not always properly displayed. Patch by Ken Takata, 2013 oct
899-
3. Doesn't work properly according to Yukihiro Nakadaira.
900-
901921
/[b-a] gives error E16, should probably be E769.
902922

903923
7 Windows XP: When using "ClearType" for text smoothing, a column of yellow
@@ -1062,8 +1082,6 @@ MS-Windows resizing problems:
10621082
Patch to append regexp to tag commands to make it possible to select one out
10631083
of many matches. (Cody Cutler, 2013 Mar 28)
10641084

1065-
Patch to add tagfunc(). Cleaned up by Christian Brabandt, 2013 Jun 22.
1066-
10671085
The input map for CTRL-O in mswin.vim causes problems after CTRL-X CTRL-O.
10681086
Suggestion for another map. (Philip Mat, 2012 Jun 18)
10691087
But use "gi" instead of "a". Or use CTRL-\ CTRL-O.

runtime/filetype.vim

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim support file to detect file types
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last Change: 2017 Apr 15
4+
" Last Change: 2017 Apr 20
55

66
" Listen very carefully, I will say this only once
77
if exists("did_load_filetypes")
@@ -2133,7 +2133,10 @@ au BufNewFile,BufRead ssh_config,*/.ssh/config setf sshconfig
21332133
au BufNewFile,BufRead sshd_config setf sshdconfig
21342134

21352135
" Stata
2136-
au BufNewFile,BufRead *.ado,*.class,*.do,*.imata,*.mata setf stata
2136+
au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata setf stata
2137+
" Also *.class, but not when it's a Java bytecode file
2138+
au BufNewFile,BufRead *.class
2139+
\ if getline(1) !~ "^\xca\xfe\xba\xbe" | setf stata | endif
21372140

21382141
" SMCL
21392142
au BufNewFile,BufRead *.hlp,*.ihlp,*.smcl setf smcl

0 commit comments

Comments
 (0)