Skip to content

Commit 7f2e9d7

Browse files
committed
Update runtime files.
1 parent 13e9041 commit 7f2e9d7

16 files changed

Lines changed: 203 additions & 104 deletions

File tree

runtime/doc/filetype.txt

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ MANPAGER *manpager.vim*
602602
The :Man command allows you to turn Vim into a manpager (that syntax highlights
603603
manpages and follows linked manpages on hitting CTRL-]).
604604

605-
Works on:
605+
Tested on:
606606

607607
- Linux
608608
- Mac OS
@@ -617,25 +617,36 @@ Untested:
617617
- BeOS
618618
- OS/2
619619

620-
For bash,zsh,ksh or dash by adding to the config file (.bashrc,.zshrc, ...)
620+
If man sets the $MAN_PN environment variable, like man-db, the most common
621+
implementation on Linux, then the "env MAN_PN=1 " part below should NOT be
622+
set, that is, the "env MAN_PN=1" should be omitted! Otherwise, the Vim
623+
manpager does not correctly recognize manpages whose title contains a capital
624+
letter. See the discussion on
621625

622-
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -"
626+
https://groups.google.com/forum/#!topic/vim_dev/pWZmt_7GkxI
623627

624-
On OpenBSD:
628+
For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...)
625629

626-
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER"
630+
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -"
627631

628-
For (t)csh by adding to the config file
632+
For (t)csh, add to the config file
629633

630634
setenv MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
631635

632-
For fish by adding to the config file
636+
For fish, add to the config file
633637

634638
set -x MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
635639

636-
If man sets the $MAN_PN environment variable, like man-db, the most common
637-
implementation on Linux and Mac OS, then the "env MAN_PN=1 " part above is
638-
superfluous.
640+
On OpenBSD:
641+
642+
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER"
643+
644+
If you experience still issues on manpages whose titles do not contain capital
645+
letters, then try adding MANPATH=${MANPATH} after MAN_PN=1. If your manpages do
646+
not show up localized, then try adding, LANGUAGE=${LANG} after MAN_PN=1. See
647+
648+
https://github.com/vim/vim/issues/1002
649+
639650

640651
PDF *ft-pdf-plugin*
641652

runtime/doc/if_pyth.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_pyth.txt* For Vim version 8.0. Last change: 2017 Mar 09
1+
*if_pyth.txt* For Vim version 8.0. Last change: 2017 Nov 09
22

33

44
VIM REFERENCE MANUAL by Paul Moore

runtime/doc/options.txt

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

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5336,7 +5336,7 @@ A jump table for the options with a short description can be found at |Q_op|.
53365336
sysmouse and Linux console with gpm). For using the mouse in the
53375337
GUI, see |gui-mouse|.
53385338
The mouse can be enabled for different modes:
5339-
n Normal mode
5339+
n Normal mode and Terminal modes
53405340
v Visual mode
53415341
i Insert mode
53425342
c Command-line mode

runtime/doc/starting.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 8.0. Last change: 2017 Oct 24
1+
*starting.txt* For Vim version 8.0. Last change: 2017 Nov 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1418,7 +1418,7 @@ The output of ":mkview" contains these items:
14181418
5. The scroll position and the cursor position in the file. Doesn't work very
14191419
well when there are closed folds.
14201420
6. The local current directory, if it is different from the global current
1421-
directory.
1421+
directory and 'viewoptions' contains "curdir".
14221422

14231423
Note that Views and Sessions are not perfect:
14241424
- They don't restore everything. For example, defined functions, autocommands
@@ -1530,7 +1530,7 @@ Notes for Unix:
15301530
you have worked with.
15311531
- If you want to share the viminfo file with other users (e.g. when you "su"
15321532
to another user), you can make the file writable for the group or everybody.
1533-
Vim will preserve this when writing new viminfo files. Be careful, don't
1533+
Vim will preserve this when replacing the viminfo file. Be careful, don't
15341534
allow just anybody to read and write your viminfo file!
15351535
- Vim will not overwrite a viminfo file that is not writable by the current
15361536
"real" user. This helps for when you did "su" to become root, but your

runtime/doc/tags

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
307307
'go-g' options.txt /*'go-g'*
308308
'go-h' options.txt /*'go-h'*
309309
'go-i' options.txt /*'go-i'*
310+
'go-k' options.txt /*'go-k'*
310311
'go-l' options.txt /*'go-l'*
311312
'go-m' options.txt /*'go-m'*
312313
'go-p' options.txt /*'go-p'*
@@ -8890,16 +8891,29 @@ termcap-cursor-color term.txt /*termcap-cursor-color*
88908891
termcap-cursor-shape term.txt /*termcap-cursor-shape*
88918892
termcap-options term.txt /*termcap-options*
88928893
termcap-title term.txt /*termcap-title*
8894+
termdebug-commands terminal.txt /*termdebug-commands*
8895+
termdebug-communication terminal.txt /*termdebug-communication*
8896+
termdebug-customizing terminal.txt /*termdebug-customizing*
8897+
termdebug-example terminal.txt /*termdebug-example*
8898+
termdebug-starting terminal.txt /*termdebug-starting*
8899+
termdebug-stepping terminal.txt /*termdebug-stepping*
8900+
termdebug-variables terminal.txt /*termdebug-variables*
88938901
terminal terminal.txt /*terminal*
88948902
terminal-colors os_unix.txt /*terminal-colors*
8903+
terminal-cursor-style terminal.txt /*terminal-cursor-style*
88958904
terminal-debug terminal.txt /*terminal-debug*
88968905
terminal-functions usr_41.txt /*terminal-functions*
88978906
terminal-info term.txt /*terminal-info*
88988907
terminal-key-codes term.txt /*terminal-key-codes*
8908+
terminal-ms-windows terminal.txt /*terminal-ms-windows*
88998909
terminal-options term.txt /*terminal-options*
89008910
terminal-output-codes term.txt /*terminal-output-codes*
8911+
terminal-resizing terminal.txt /*terminal-resizing*
8912+
terminal-size-color terminal.txt /*terminal-size-color*
8913+
terminal-special-keys terminal.txt /*terminal-special-keys*
89018914
terminal-testing terminal.txt /*terminal-testing*
89028915
terminal-typing terminal.txt /*terminal-typing*
8916+
terminal-unix terminal.txt /*terminal-unix*
89038917
terminal-use terminal.txt /*terminal-use*
89048918
terminal.txt terminal.txt /*terminal.txt*
89058919
terminfo term.txt /*terminfo*

runtime/doc/terminal.txt

Lines changed: 45 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*terminal.txt* For Vim version 8.0. Last change: 2017 Oct 29
1+
*terminal.txt* For Vim version 8.0. Last change: 2017 Nov 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -14,9 +14,25 @@ The terminal feature is optional, use this to check if your Vim has it: >
1414
If the result is "1" you have it.
1515

1616

17-
1. Basic use |terminal-use|
18-
2. Remote testing |terminal-testing|
19-
3. Debugging |terminal-debug|
17+
1. Basic use |terminal-use|
18+
Typing |terminal-typing|
19+
Size and color |terminal-size-color|
20+
Syntax |:terminal|
21+
Resizing |terminal-resizing|
22+
Terminal Modes |Terminal-mode|
23+
Cursor style |terminal-cursor-style|
24+
Special keys |terminal-special-keys|
25+
Unix |terminal-unix|
26+
MS-Windows |terminal-ms-windows|
27+
2. Remote testing |terminal-testing|
28+
3. Debugging |terminal-debug|
29+
Starting |termdebug-starting|
30+
Example session |termdebug-example|
31+
Stepping through code |termdebug-stepping|
32+
Inspecting variables |termdebug-variables|
33+
Other commands |termdebug-commands|
34+
Communication |termdebug-communication|
35+
Customizing |termdebug-customizing|
2036

2137
{Vi does not have any of these commands}
2238
{only available when compiled with the |+terminal| feature}
@@ -92,7 +108,7 @@ options specifically for the window and buffer. Example: >
92108
93109
94110
Size and color ~
95-
111+
*terminal-size-color*
96112
See option 'termsize' for controlling the size of the terminal window.
97113
(TODO: scrolling when the terminal is larger than the window)
98114

@@ -201,7 +217,7 @@ the buffer name will still be set to the command.
201217

202218

203219
Resizing ~
204-
220+
*terminal-resizing*
205221
The size of the terminal can be in one of three modes:
206222

207223
1. The 'termsize' option is empty: The terminal size follows the window size.
@@ -251,7 +267,7 @@ It is not possible to enter Insert mode from Terminal-Job mode.
251267

252268

253269
Cursor style ~
254-
270+
*terminal-cursor-style*
255271
By default the cursor in the terminal window uses a not blinking block. The
256272
normal xterm escape sequences can be used to change the blinking state and the
257273
shape. Once focus leaves the terminal window Vim will restore the original
@@ -263,8 +279,21 @@ is inverted. Since Vim cannot detect this, the terminal window cursor
263279
blinking will also be inverted.
264280

265281

266-
Unix ~
282+
Special keys ~
283+
*terminal-special-keys*
284+
Since the terminal emulator simulates an xterm, only escape sequences that
285+
both Vim and xterm recognize will be available in the terminal window. If you
286+
want to pass on other escape sequences to the job running in the terminal you
287+
need to set up forwarding. Example: >
288+
tmap <expr> <Esc>]b SendToTerm("\<Esc>]b")
289+
func SendToTerm(what)
290+
call term_sendkeys('', a:what)
291+
return ''
292+
endfunc
267293
294+
295+
Unix ~
296+
*terminal-unix*
268297
On Unix a pty is used to make it possible to run all kinds of commands. You
269298
can even run Vim in the terminal! That's used for debugging, see below.
270299

@@ -287,7 +316,7 @@ This will open the file "some_file.c" and put the cursor on line 123.
287316

288317

289318
MS-Windows ~
290-
319+
*terminal-ms-windows*
291320
On MS-Windows winpty is used to make it possible to run all kind of commands.
292321
Obviously, they must be commands that run in a terminal, not open their own
293322
window.
@@ -330,7 +359,7 @@ Vim this also works remotely over an ssh connection.
330359

331360

332361
Starting ~
333-
362+
*termdebug-starting*
334363
Load the plugin with this command: >
335364
packadd termdebug
336365
< *:Termdebug*
@@ -360,7 +389,7 @@ opened windows are closed.
360389

361390

362391
Example session ~
363-
392+
*termdebug-example*
364393
Start in the Vim "src" directory and build Vim: >
365394
% make
366395
Start Vim: >
@@ -416,7 +445,7 @@ a deeper level.
416445

417446

418447
Stepping through code ~
419-
448+
*termdebug-stepping*
420449
Put focus on the gdb window to type commands there. Some common ones are:
421450
- CTRL-C interrupt the program
422451
- next execute the current line and stop at the next line
@@ -445,7 +474,7 @@ This way you can use the mouse to perform the most common commands.
445474

446475

447476
Inspecting variables ~
448-
477+
*termdebug-variables*
449478
:Evaluate evaluate the expression under the cursor
450479
K same
451480
:Evaluate {expr} evaluate {expr}
@@ -455,20 +484,20 @@ This is similar to using "print" in the gdb window.
455484

456485

457486
Other commands ~
458-
487+
*termdebug-commands*
459488
:Gdb jump to the gdb window
460489
:Program jump to the window with the running program
461490

462491

463492
Communication ~
464-
493+
*termdebug-communication*
465494
There is another, hidden, buffer, which is used for Vim to communicate with
466495
gdb. The buffer name is "gdb communication". Do not delete this buffer, it
467496
will break the debugger.
468497

469498

470499
Customizing ~
471-
500+
*termdebug-customizing*
472501
To change the name of the gdb command, set the "termdebugger" variable before
473502
invoking `:Termdebug`: >
474503
let termdebugger = "mygdb"

runtime/doc/todo.txt

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 8.0. Last change: 2017 Nov 05
1+
*todo.txt* For Vim version 8.0. Last change: 2017 Nov 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -35,6 +35,10 @@ entered there will not be repeated below, unless there is extra information.
3535
*known-bugs*
3636
-------------------- Known bugs and current work -----------------------
3737

38+
Permission of viminfo tempfile can be wrong. (Simon Ruderich)
39+
Always use 600 ? Also avoids groups problem.
40+
patch from Simon Ruderich, Nov 8
41+
3842
No maintainer for Vietnamese translations.
3943
No maintainer for Simplified Chinese translations.
4044

@@ -132,16 +136,17 @@ Regexp problems:
132136
Include a few color schemes, based on popularity:
133137
http://www.vim.org/scripts/script_search_results.php?keywords=&script_type=color+scheme&order_by=rating&direction=descending&search=search
134138
http://vimawesome.com/?q=tag:color-scheme
135-
Use names that indicate their appearnce (Christian Brabandt, 2017 Aug 3)
136-
- monokai - Xia Crusoe (2017 Aug 4)
139+
Use names that indicate their apperance (Christian Brabandt, 2017 Aug 3)
140+
- monokai - Xia Crusoe (2017 Aug 4)
137141
- seoul256 - Christian Brabandt (2017 Aug 3)
138142
- gruvbox - Christian Brabandt (2017 Aug 3)
139143
- janah - Marco Hinz (2017 Aug 4)
140144
- apprentice - Romain Lafourcade (2017 Aug 6) remarks about help file #1964
141145
Suggested by Hiroki Kokubun:
142146
- [Iceberg](https://github.com/cocopon/iceberg.vim) (my one)
143147
- [hybrid](https://github.com/w0ng/vim-hybrid)
144-
Include solarized color scheme?
148+
Include solarized color scheme?, it does not support termguicolors.
149+
-> Make check for colorscheme that it's sane.
145150

146151
Compiler warnings (geeknik, 2017 Oct 26):
147152
- signed integer overflow in do_sub() (#2249)
@@ -178,9 +183,6 @@ Error in emsg with buggy script. (Dominique, 2017 Apr 30)
178183
When a timer is running and typing CTRL-R on the command line, it is not
179184
redrawn properly. (xtal8, 2017 Oct 23, #2241)
180185

181-
Patch for manpager plugin. (Lcd, 2017 Oct 12)
182-
Asked maintainer.
183-
184186
Universal solution to detect if t_RS is working, using cursor position.
185187
Koichi Iwamoto, #2126
186188

@@ -216,15 +218,7 @@ When bracketed paste is used, pasting at the ":append" prompt does not get the
216218
line breaks. (Ken Takata, 2017 Aug 22)
217219

218220
Patch for 24 bit color support in MS-Windows console, using vcon. (Nobuhiro
219-
Takasaki, 2017 Oct 1, #2060). Should not set 'tgc' automatically.
220-
221-
Patch to change GUI behavior: instead of changing the window size change the
222-
lines/columns when menu/toolbar/etc. is added/removed. (Ychin, 2016 Mar 20,
223-
#703)
224-
225-
Patch to skip globpath() for color schemes, keymaps and compiler settings.
226-
So that loading menus is faster. (Ken Takata, 2017 Oct 23)
227-
Update to expand the menus in a CursorHold autocmd. (2017 Oct 25)
221+
Takasaki, 2017 Oct 1, #2060). Ready to include now?
228222

229223
Memory leaks in test_channel? (or is it because of fork())
230224
Memory leak in test_arabic.
@@ -296,6 +290,9 @@ Patch to add argument to :cquit. (Thinca, 2014 Oct 12)
296290
Python: After "import vim" error messages only show the first line of the
297291
stack trace. (Yggdroot, 2017 Jul 28, #1887)
298292

293+
Patch to add "module" to quickfix entries. (Marcin Szamotulski, Coot, 2017 Jun
294+
8, #1757)
295+
299296
When checking if a bufref is valid, also check the buffer number, to catch the
300297
case of :bwipe followed by :new.
301298

@@ -499,8 +496,6 @@ Patch for wrong cursor position on wrapped line, involving breakindent.
499496
(Ozaki Kiichi, 2016 Nov 25)
500497
Does this also fix #1408 ?
501498

502-
Patch to add "module" to quickfix entries. (Coot, 2017 Jun 8, #1757)
503-
504499
'cursorline' and match interfere. (Ozaki Kiichi, 2017 Jun 23, #1792)
505500

506501
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
@@ -5206,7 +5201,7 @@ Swap (.swp) files:
52065201
- Add an option to create a swap file only when making the first change to
52075202
the buffer. (Liang) Or only when the buffer is not read-only.
52085203
- Add option to set "umask" for backup files and swap files (Antwerpen).
5209-
'backupumask' and 'swapumask'? Or 'umaskback' and 'umaskswap'?
5204+
'backupumask' and 'swapumask'? Or 'umaskbackup' and 'umaskswap'?
52105205
- When editing a readonly file, don't use a swap file but read parts from the
52115206
original file. Also do this when the file is huge (>'maxmem'). We do
52125207
need to load the file once to count the number of lines? Perhaps keep a

0 commit comments

Comments
 (0)