Mirror of the Vim source from https://github.com/vim/vim
Revision | 9b7f90e567535050a62c8cc9e3e15540b7494d61 (tree) |
---|---|
Time | 2020-01-15 03:30:04 |
Author | Bram Moolenaar <Bram@vim....> |
Commiter | Bram Moolenaar |
Update runtime files.
Commit: https://github.com/vim/vim/commit/8024f936368336241406137a2fa78ed5ee9000a6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 14 19:29:13 2020 +0100
@@ -32,12 +32,12 @@ | ||
32 | 32 | |
33 | 33 | 5. Get a "diff.exe" program. If you skip this the built-in diff will always |
34 | 34 | be used (which is fine for most users). If you do have your own |
35 | - "diff.exe" put it in the "../.." directory (above the "vim81" directory, | |
35 | + "diff.exe" put it in the "../.." directory (above the "vim82" directory, | |
36 | 36 | it's the same for all Vim versions). |
37 | 37 | You can find one in previous Vim versions or in this archive: |
38 | 38 | http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz |
39 | 39 | |
40 | -6 Also put winpty32.dll and winpty-agent.exe in "../.." (above the "vim81" | |
40 | +6 Also put winpty32.dll and winpty-agent.exe in "../.." (above the "vim82" | |
41 | 41 | directory). This is required for the terminal window. |
42 | 42 | |
43 | 43 | 7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have |
@@ -236,7 +236,7 @@ | ||
236 | 236 | " call Decho("..depscript<".depscript.">") |
237 | 237 | |
238 | 238 | " found a "GetLatestVimScripts: # #" line in the script; |
239 | - " check if its already in the datafile by searching backwards from llp1, | |
239 | + " check if it's already in the datafile by searching backwards from llp1, | |
240 | 240 | " the (prior to reading in the plugin script) last line plus one of the GetLatestVimScripts.dat file, |
241 | 241 | " for the script-id with no wrapping allowed. |
242 | 242 | let curline = line(".") |
@@ -121,7 +121,7 @@ | ||
121 | 121 | if !filereadable(a:tarfile) |
122 | 122 | " call Decho('a:tarfile<'.a:tarfile.'> not filereadable') |
123 | 123 | if a:tarfile !~# '^\a\+://' |
124 | - " if its an url, don't complain, let url-handlers such as vim do its thing | |
124 | + " if it's an url, don't complain, let url-handlers such as vim do its thing | |
125 | 125 | redraw! |
126 | 126 | " call Decho("***error*** (tar#Browse) File not readable<".a:tarfile.">") |
127 | 127 | echohl Error | echo "***error*** (tar#Browse) File not readable<".a:tarfile.">" | echohl None |
@@ -65,14 +65,14 @@ | ||
65 | 65 | " zip#Browse: {{{2 |
66 | 66 | fun! zip#Browse(zipfile) |
67 | 67 | " call Dfunc("zip#Browse(zipfile<".a:zipfile.">)") |
68 | - " sanity check: insure that the zipfile has "PK" as its first two letters | |
68 | + " sanity check: ensure that the zipfile has "PK" as its first two letters | |
69 | 69 | " (zipped files have a leading PK as a "magic cookie") |
70 | 70 | if !filereadable(a:zipfile) || readfile(a:zipfile, "", 1)[0] !~ '^PK' |
71 | 71 | exe "noswapfile noautocmd noswapfile e ".fnameescape(a:zipfile) |
72 | 72 | " call Dret("zip#Browse : not a zipfile<".a:zipfile.">") |
73 | 73 | return |
74 | 74 | " else " Decho |
75 | -" call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - its a zip file") | |
75 | +" call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - it's a zip file") | |
76 | 76 | endif |
77 | 77 | |
78 | 78 | let repkeep= &report |
@@ -95,7 +95,7 @@ | ||
95 | 95 | endif |
96 | 96 | if !filereadable(a:zipfile) |
97 | 97 | if a:zipfile !~# '^\a\+://' |
98 | - " if its an url, don't complain, let url-handlers such as vim do its thing | |
98 | + " if it's an url, don't complain, let url-handlers such as vim do its thing | |
99 | 99 | redraw! |
100 | 100 | echohl Error | echo "***error*** (zip#Browse) File not readable<".a:zipfile.">" | echohl None |
101 | 101 | " call inputsave()|call input("Press <cr> to continue")|call inputrestore() |
@@ -307,13 +307,13 @@ | ||
307 | 307 | |
308 | 308 | produces this output: |
309 | 309 | |
310 | - runtimepath=/etc/vim,~/.vim,/usr/local/share/vim/vim60 ~ | |
310 | + runtimepath=/etc/vim,~/.vim,/usr/local/share/vim/vim82 ~ | |
311 | 311 | |
312 | 312 | then Vim will load all plugins in these directories and below: |
313 | 313 | |
314 | 314 | /etc/vim/plugin/ ~ |
315 | 315 | ~/.vim/plugin/ ~ |
316 | - /usr/local/share/vim/vim60/plugin/ ~ | |
316 | + /usr/local/share/vim/vim82/plugin/ ~ | |
317 | 317 | |
318 | 318 | Note that the last one is the value of $VIMRUNTIME which has been expanded. |
319 | 319 |
@@ -106,16 +106,15 @@ | ||
106 | 106 | You can also install Vim in the "Send To" menu: |
107 | 107 | 1. Start a Windows Explorer |
108 | 108 | 2. Navigate to your sendto directory: |
109 | - Windows NT: %windir%\profiles\%user%\sendto (e.g. | |
110 | - "c:\winnt\profiles\mattha\sendto") | |
111 | 109 | Windows XP: C:\Documents and Settings\%user%\SendTo |
112 | 110 | Windows Vista: C:\Users\%user%\AppData\Roaming\Microsoft\Windows\SendTo . |
113 | 111 | 3. Right-click in the file pane and select New->Shortcut |
114 | 112 | 4. Follow the shortcut wizard, using the full path to VIM/GVIM. |
115 | 113 | |
116 | 114 | When you 'send a file to Vim', Vim changes to that file's directory. Note, |
117 | -however, that any long directory names will appear in their short (MS-Windows) | |
118 | -form. This is a limitation of the Windows "Send To" mechanism. | |
115 | +however, that any long directory names will appear in their short (MS-DOS) | |
116 | +form on some Windows versions. This is a limitation of the Windows "Send To" | |
117 | +mechanism. | |
119 | 118 | |
120 | 119 | *notepad* |
121 | 120 | You could replace notepad.exe with gvim.exe, but that has a few side effects. |
@@ -169,8 +168,8 @@ | ||
169 | 168 | Vim Shell Extension |
170 | 169 | HKEY_LOCAL_MACHINE\Software\Vim\Gvim |
171 | 170 | path {path}\gvim.exe |
172 | - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\vim 5.6 | |
173 | - DisplayName Vim 5.6: Edit with Vim popup menu entry | |
171 | + HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\vim 8.2 | |
172 | + DisplayName Vim 8.2: Edit with Vim popup menu entry | |
174 | 173 | UninstallString {path}\uninstall.exe |
175 | 174 | |
176 | 175 | Replace {path} with the path that leads to the executable. |
@@ -214,7 +213,7 @@ | ||
214 | 213 | [HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit] |
215 | 214 | |
216 | 215 | [HKEY_CLASSES_ROOT\Applications\gvim.exe\shell\edit\command] |
217 | -@="c:\\vim\\vim62\\gvim.exe \"%1\"" | |
216 | +@="c:\\vim\\vim82\\gvim.exe \"%1\"" | |
218 | 217 | |
219 | 218 | [HKEY_CLASSES_ROOT\.htm\OpenWithList\gvim.exe] |
220 | 219 |
@@ -222,7 +221,7 @@ | ||
222 | 221 | |
223 | 222 | ---------------------------------------------------------- |
224 | 223 | |
225 | -Change the "c:\\vim\\vim62" bit to where gvim.exe is actually located. | |
224 | +Change the "c:\\vim\\vim82" bit to where gvim.exe is actually located. | |
226 | 225 | |
227 | 226 | To uninstall this run the Vim uninstall program or manually delete the |
228 | 227 | registry entries with "regedit". |
@@ -197,7 +197,7 @@ | ||
197 | 197 | |os_390.txt| OS/390 Unix |
198 | 198 | |os_amiga.txt| Amiga |
199 | 199 | |os_beos.txt| BeOS and BeBox |
200 | -|os_dos.txt| MS-DOS and MS-Windows NT/95 common items | |
200 | +|os_dos.txt| MS-DOS and MS-Windows common items | |
201 | 201 | |os_mac.txt| Macintosh |
202 | 202 | |os_mint.txt| Atari MiNT |
203 | 203 | |os_msdos.txt| MS-DOS (plain DOS and DOS box under Windows) |
@@ -206,7 +206,7 @@ | ||
206 | 206 | |os_risc.txt| RISC-OS |
207 | 207 | |os_unix.txt| Unix |
208 | 208 | |os_vms.txt| VMS |
209 | -|os_win32.txt| MS-Windows 95/98/NT | |
209 | +|os_win32.txt| MS-Windows | |
210 | 210 | *standard-plugin-list* |
211 | 211 | Standard plugins ~ |
212 | 212 | |pi_getscript.txt| Downloading latest version of Vim scripts |
@@ -1,4 +1,4 @@ | ||
1 | -*index.txt* For Vim version 8.2. Last change: 2019 Sep 27 | |
1 | +*index.txt* For Vim version 8.2. Last change: 2020 Jan 14 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -73,6 +73,8 @@ | ||
73 | 73 | the cursor |
74 | 74 | |i_CTRL-Q| CTRL-Q same as CTRL-V, unless used for terminal |
75 | 75 | control flow |
76 | +|i_CTRL-SHIFT-Q| CTRL-SHIFT-Q {char} | |
77 | + like CTRL-Q unless |modifyOtherKeys| is active | |
76 | 78 | |i_CTRL-R| CTRL-R {register} |
77 | 79 | insert the contents of a register |
78 | 80 | |i_CTRL-R_CTRL-R| CTRL-R CTRL-R {register} |
@@ -89,6 +91,8 @@ | ||
89 | 91 | |i_CTRL-U| CTRL-U delete all entered characters in the current |
90 | 92 | line |
91 | 93 | |i_CTRL-V| CTRL-V {char} insert next non-digit literally |
94 | +|i_CTRL-SHIFT-V| CTRL-SHIFT-V {char} | |
95 | + like CTRL-V unless |modifyOtherKeys| is active | |
92 | 96 | |i_CTRL-V_digit| CTRL-V {number} insert three digit decimal number as a single |
93 | 97 | byte. |
94 | 98 | |i_CTRL-W| CTRL-W delete word before the cursor |
@@ -200,15 +200,15 @@ | ||
200 | 200 | is converted back to what it was without |modifyOtherKeys|, |
201 | 201 | unless the Shift key is also pressed. |
202 | 202 | |
203 | - *i_CTRL-SHIFT-V* | |
204 | -CTRL-SHIFT-V Works just like CTRL-V, unless |modifyOtherKeys| is active, | |
205 | - then it inserts the Escape sequence for a key with modifiers. | |
206 | - | |
207 | 203 | *i_CTRL-Q* |
208 | 204 | CTRL-Q Same as CTRL-V. |
209 | 205 | Note: Some terminal connections may eat CTRL-Q, it doesn't |
210 | 206 | work then. It does work in the GUI. |
211 | 207 | |
208 | +CTRL-SHIFT-V *i_CTRL-SHIFT-V* *i_CTRL-SHIFT-Q* | |
209 | +CTRL-SHIFT-Q Works just like CTRL-V, unless |modifyOtherKeys| is active, | |
210 | + then it inserts the Escape sequence for a key with modifiers. | |
211 | + | |
212 | 212 | CTRL-X Enter CTRL-X mode. This is a sub-mode where commands can |
213 | 213 | be given to complete words or scroll the window. See |
214 | 214 | |i_CTRL-X| and |ins-completion|. |
@@ -2009,11 +2009,11 @@ | ||
2009 | 2009 | changed, the detected format is only used while reading the file. |
2010 | 2010 | A similar thing happens with 'fileencodings'. |
2011 | 2011 | |
2012 | -The message "[dos format]" is shown if a file is read in DOS format, to remind | |
2013 | -you that something unusual is done. | |
2012 | +On non-Win32 systems the message "[dos format]" is shown if a file is read in | |
2013 | +DOS format, to remind you that something unusual is done. | |
2014 | 2014 | On Macintosh and Win32 the message "[unix format]" is shown if a file is read |
2015 | 2015 | in Unix format. |
2016 | -On non-Macintosh systems, the message "[Mac format]" is shown if a file is | |
2016 | +On non-Macintosh systems, the message "[mac format]" is shown if a file is | |
2017 | 2017 | read in Mac format. |
2018 | 2018 | |
2019 | 2019 | An example on how to use ":r !": > |
@@ -845,8 +845,9 @@ | ||
845 | 845 | |
846 | 846 | A known side effect effect is that in Insert mode the raw escape sequence is |
847 | 847 | inserted after the CTRL-V key. This can be used to check whether |
848 | -modifyOtherKeys is enabled: In Insert mode type CTRL-V CTRL-V, if you get | |
849 | -one byte then modifyOtherKeys is off, if you get <1b>27;5;118~ then it is on. | |
848 | +modifyOtherKeys is enabled: In Insert mode type CTRL-SHIFT-V CTRL-V, if you | |
849 | +get one byte then modifyOtherKeys is off, if you get <1b>27;5;118~ then it is | |
850 | +on. | |
850 | 851 | |
851 | 852 | When the 'esckeys' option is off, then modifyOtherKeys will be disabled in |
852 | 853 | Insert mode to avoid every key with a modifier causing Insert mode to end. |
@@ -709,9 +709,9 @@ | ||
709 | 709 | (or Vim is run inside an xterm invoked with "-cjkwidth" option.), |
710 | 710 | this option should be set to "double" to match the width perceived |
711 | 711 | by Vim with the width of glyphs in the font. Perhaps it also has |
712 | - to be set to "double" under CJK MS-Windows 2k/XP | |
713 | - when the system locale is set to one of CJK locales. See Unicode | |
714 | - Standard Annex #11 (http://www.unicode.org/reports/tr11). | |
712 | + to be set to "double" under CJK MS-Windows when the system locale is | |
713 | + set to one of CJK locales. See Unicode Standard Annex #11 | |
714 | + (http://www.unicode.org/reports/tr11). | |
715 | 715 | |
716 | 716 | Vim may set this option automatically at startup time when Vim is |
717 | 717 | compiled with the |+termresponse| feature and if |t_u7| is set to the |
@@ -1018,9 +1018,9 @@ | ||
1018 | 1018 | impossible!). Writing may fail because of this. |
1019 | 1019 | - A directory "." means to put the backup file in the same directory |
1020 | 1020 | as the edited file. |
1021 | - - A directory starting with "./" (or ".\" for MS-Windows et al.) means | |
1022 | - to put the backup file relative to where the edited file is. The | |
1023 | - leading "." is replaced with the path name of the edited file. | |
1021 | + - A directory starting with "./" (or ".\" for MS-Windows) means to put | |
1022 | + the backup file relative to where the edited file is. The leading | |
1023 | + "." is replaced with the path name of the edited file. | |
1024 | 1024 | ("." inside a directory name has no special meaning). |
1025 | 1025 | - Spaces after the comma are ignored, other spaces are considered part |
1026 | 1026 | of the directory name. To have a space at the start of a directory |
@@ -2712,9 +2712,9 @@ | ||
2712 | 2712 | the edited file. On Unix, a dot is prepended to the file name, so |
2713 | 2713 | it doesn't show in a directory listing. On MS-Windows the "hidden" |
2714 | 2714 | attribute is set and a dot prepended if possible. |
2715 | - - A directory starting with "./" (or ".\" for MS-Windows et al.) means | |
2716 | - to put the swap file relative to where the edited file is. The | |
2717 | - leading "." is replaced with the path name of the edited file. | |
2715 | + - A directory starting with "./" (or ".\" for MS-Windows) means to put | |
2716 | + the swap file relative to where the edited file is. The leading "." | |
2717 | + is replaced with the path name of the edited file. | |
2718 | 2718 | - For Unix and Win32, if a directory ends in two path separators "//", |
2719 | 2719 | the swap file name will be built from the complete path to the file |
2720 | 2720 | with all path separators substituted to percent '%' signs. This will |
@@ -3593,7 +3593,7 @@ | ||
3593 | 3593 | {only available when compiled with GUI enabled, and |
3594 | 3594 | for Win32 console} |
3595 | 3595 | This option tells Vim what the cursor should look like in different |
3596 | - modes. It fully works in the GUI. In an Win32 console, only the | |
3596 | + modes. It fully works in the GUI. In a Win32 console, only the | |
3597 | 3597 | height of the cursor can be changed. This can be done by specifying a |
3598 | 3598 | block cursor, or a percentage for a vertical or horizontal cursor. |
3599 | 3599 | For a console the 't_SI', 't_SR', and 't_EI' escape sequences are |
@@ -6075,7 +6075,7 @@ | ||
6075 | 6075 | *'restorescreen'* *'rs'* *'norestorescreen'* *'nors'* |
6076 | 6076 | 'restorescreen' 'rs' boolean (default on) |
6077 | 6077 | global |
6078 | - {only in Windows 95/NT console version} | |
6078 | + {only in MS-Windows console version} | |
6079 | 6079 | When set, the screen contents is restored when exiting Vim. This also |
6080 | 6080 | happens when executing external commands. |
6081 | 6081 |
@@ -6497,9 +6497,9 @@ | ||
6497 | 6497 | somewhere: "/c") |
6498 | 6498 | global |
6499 | 6499 | Flag passed to the shell to execute "!" and ":!" commands; e.g., |
6500 | - "bash.exe -c ls" or "command.com /c dir". For the MS-Windows-like | |
6501 | - systems, the default is set according to the value of 'shell', to | |
6502 | - reduce the need to set this option by the user. | |
6500 | + "bash.exe -c ls" or "cmd.exe /c dir". For MS-Windows, the default is | |
6501 | + set according to the value of 'shell', to reduce the need to set this | |
6502 | + option by the user. | |
6503 | 6503 | On Unix it can have more than one flag. Each white space separated |
6504 | 6504 | part is passed as an argument to the shell command. |
6505 | 6505 | See |option-backslash| about including spaces and backslashes. |
@@ -6508,7 +6508,8 @@ | ||
6508 | 6508 | security reasons. |
6509 | 6509 | |
6510 | 6510 | *'shellpipe'* *'sp'* |
6511 | -'shellpipe' 'sp' string (default ">", "| tee", "|& tee" or "2>&1| tee") | |
6511 | +'shellpipe' 'sp' string (default ">", ">%s 2>&1", "| tee", "|& tee" or | |
6512 | + "2>&1| tee") | |
6512 | 6513 | global |
6513 | 6514 | {not available when compiled without the |+quickfix| |
6514 | 6515 | feature} |
@@ -6518,8 +6519,9 @@ | ||
6518 | 6519 | The name of the temporary file can be represented by "%s" if necessary |
6519 | 6520 | (the file name is appended automatically if no %s appears in the value |
6520 | 6521 | of this option). |
6521 | - For the Amiga the default is ">". The output is directly saved in a | |
6522 | - file and not echoed to the screen. | |
6522 | + For the Amiga the default is ">". For MS-Windows the default is | |
6523 | + ">%s 2>&1". The output is directly saved in a file and not echoed to | |
6524 | + the screen. | |
6523 | 6525 | For Unix the default it "| tee". The stdout of the compiler is saved |
6524 | 6526 | in a file and echoed to the screen. If the 'shell' option is "csh" or |
6525 | 6527 | "tcsh" after initializations, the default becomes "|& tee". If the |
@@ -6587,9 +6589,9 @@ | ||
6587 | 6589 | global |
6588 | 6590 | {only for MS-Windows} |
6589 | 6591 | When set, a forward slash is used when expanding file names. This is |
6590 | - useful when a Unix-like shell is used instead of command.com or | |
6591 | - cmd.exe. Backward slashes can still be typed, but they are changed to | |
6592 | - forward slashes by Vim. | |
6592 | + useful when a Unix-like shell is used instead of cmd.exe. Backward | |
6593 | + slashes can still be typed, but they are changed to forward slashes by | |
6594 | + Vim. | |
6593 | 6595 | Note that setting or resetting this option has no effect for some |
6594 | 6596 | existing file names, thus this option needs to be set before opening |
6595 | 6597 | any file for best results. This might change in the future. |
@@ -8205,7 +8207,7 @@ | ||
8205 | 8207 | NOTE: This option is reset when 'compatible' is set. |
8206 | 8208 | |
8207 | 8209 | *'undolevels'* *'ul'* |
8208 | -'undolevels' 'ul' number (default 100, 1000 for Unix, VMS, Win32) | |
8210 | +'undolevels' 'ul' number (default 100, 1000 for Unix, VMS and Win32) | |
8209 | 8211 | global or local to buffer |global-local| |
8210 | 8212 | Maximum number of changes that can be undone. Since undo information |
8211 | 8213 | is kept in memory, higher numbers will cause more memory to be used. |
@@ -39,7 +39,7 @@ | ||
39 | 39 | environment variable. The runtime files will be found in "$VIM/vim{version}". |
40 | 40 | Example: > |
41 | 41 | set VIM=E:\vim |
42 | -Will find the version 5.4 runtime files in "e:\vim\vim54". | |
42 | +Will find the version 8.2 runtime files in "e:\vim\vim82". | |
43 | 43 | Note: This is _not_ recommended. The preferred way is to keep the executable |
44 | 44 | in the runtime directory. |
45 | 45 |
@@ -47,8 +47,8 @@ | ||
47 | 47 | somewhere else, you must set $VIM to where you vimrc files are, and set |
48 | 48 | $VIMRUNTIME to the runtime files. Example: > |
49 | 49 | set VIM=C:\usr\piet |
50 | - set VIMRUNTIME=E:\vim\vim54 | |
51 | -Will find "c:\user\piet\_vimrc" and the runtime files in "e:\vim\vim54". | |
50 | + set VIMRUNTIME=E:\vim\vim82 | |
51 | +Will find "c:\user\piet\_vimrc" and the runtime files in "e:\vim\vim82". | |
52 | 52 | |
53 | 53 | See |$VIM| and |$VIMRUNTIME| for more information. |
54 | 54 |
@@ -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 8.2. Last change: 2017 Aug 01 | |
2 | 2 | > |
3 | 3 | GETSCRIPT REFERENCE MANUAL by Charles E. Campbell |
4 | 4 | < |
@@ -9,7 +9,7 @@ | ||
9 | 9 | The VIM LICENSE (see |copyright|) applies to the files in this |
10 | 10 | package, including getscriptPlugin.vim, getscript.vim, |
11 | 11 | GetLatestVimScripts.dist, and pi_getscript.txt, except use "getscript" |
12 | - instead of "VIM". Like anything else that's free, getscript and its | |
12 | + instead of "Vim". Like anything else that's free, getscript and its | |
13 | 13 | associated files are provided *as is* and comes with no warranty of |
14 | 14 | any kind, either expressed or implied. No guarantees of |
15 | 15 | merchantability. No guarantees of suitability for any purpose. By |
@@ -68,7 +68,7 @@ | ||
68 | 68 | mv GetLatestVimScripts.dist GetLatestVimScripts.dat |
69 | 69 | (edit GetLatestVimScripts.dat to install your own personal |
70 | 70 | list of desired plugins -- see |GetLatestVimScripts_dat|) |
71 | - | |
71 | + | |
72 | 72 | 3. Windows: |
73 | 73 | vim getscript.vba |
74 | 74 | :so % |
@@ -389,7 +389,7 @@ | ||
389 | 389 | plugin/*.vim in globpath() call. |
390 | 390 | * (Andy Wokula) got warning message when setting |
391 | 391 | 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 | |
393 | 393 | changed (somewhat). However, it doesn't work, and |
394 | 394 | the original one does (under Linux). I'll make it |
395 | 395 | yet-another-option. |
@@ -479,4 +479,4 @@ | ||
479 | 479 | and they became numbers. Fixes comparison. |
480 | 480 | |
481 | 481 | ============================================================================== |
482 | -vim:tw=78:ts=8:ft=help:fdm=marker | |
482 | +vim:tw=78:ts=8:noet:ft=help:fdm=marker |
@@ -1,4 +1,4 @@ | ||
1 | -*pi_logipat.txt* Logical Patterns May 01, 2019 | |
1 | +*pi_logipat.txt* Logical Patterns May 01, 2019 | |
2 | 2 | |
3 | 3 | Author: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM> |
4 | 4 | Copyright: (c) 2004-2016 by Charles E. Campbell *logiPat-copyright* |
@@ -119,4 +119,4 @@ | ||
119 | 119 | |
120 | 120 | |
121 | 121 | ============================================================================== |
122 | -vim:tw=78:ts=8:ft=help | |
122 | +vim:tw=78:ts=8:noet:ft=help |
@@ -1,4 +1,4 @@ | ||
1 | -*pi_netrw.txt* For Vim version 8.2. Last change: 2020 Jan 07 | |
1 | +*pi_netrw.txt* For Vim version 8.2. Last change: 2020 Jan 14 | |
2 | 2 | |
3 | 3 | ------------------------------------------------ |
4 | 4 | NETRW REFERENCE MANUAL by Charles E. Campbell |
@@ -1184,7 +1184,7 @@ | ||
1184 | 1184 | *.netrwbook* |
1185 | 1185 | Bookmarks are retained in between sessions of vim in a file called .netrwbook |
1186 | 1186 | as a |List|, which is typically stored in the first directory on the user's |
1187 | -runtimepath; entries are kept in sorted order. | |
1187 | +'runtimepath'; entries are kept in sorted order. | |
1188 | 1188 | |
1189 | 1189 | If there are marked files and/or directories, mb will add them to the bookmark |
1190 | 1190 | list. |
@@ -3513,7 +3513,7 @@ | ||
3513 | 3513 | - Click "Add..." |
3514 | 3514 | - Set External Editor (adjust path as needed, include |
3515 | 3515 | the quotes and !.! at the end): |
3516 | - "c:\Program Files\Vim\vim70\gvim.exe" !.! | |
3516 | + "c:\Program Files\Vim\vim82\gvim.exe" !.! | |
3517 | 3517 | - Check that the filetype in the box below is |
3518 | 3518 | {asterisk}.{asterisk} (all files), or whatever types |
3519 | 3519 | you want (cec: change {asterisk} to * ; I had to |
@@ -3763,8 +3763,8 @@ | ||
3763 | 3763 | |
3764 | 3764 | The <netrw.vim> script is typically installed on systems as something like: |
3765 | 3765 | > |
3766 | - /usr/local/share/vim/vim7x/plugin/netrwPlugin.vim | |
3767 | - /usr/local/share/vim/vim7x/autoload/netrw.vim | |
3766 | + /usr/local/share/vim/vim8x/plugin/netrwPlugin.vim | |
3767 | + /usr/local/share/vim/vim8x/autoload/netrw.vim | |
3768 | 3768 | (see output of :echo &rtp) |
3769 | 3769 | < |
3770 | 3770 | which is loaded automatically at startup (assuming :set nocp). If you |
@@ -4306,4 +4306,4 @@ | ||
4306 | 4306 | |
4307 | 4307 | ============================================================================== |
4308 | 4308 | Modelines: {{{1 |
4309 | - vim:tw=78:ts=8:ft=help:norl:fdm=marker | |
4309 | + vim:tw=78:ts=8:noet:ft=help:norl:fdm=marker |
@@ -167,4 +167,4 @@ | ||
167 | 167 | (see http://michael.toren.net/code/) |
168 | 168 | |
169 | 169 | ============================================================================== |
170 | -vim:tw=78:ts=8:ft=help | |
170 | +vim:tw=78:ts=8:noet:ft=help |
@@ -273,4 +273,4 @@ | ||
273 | 273 | |
274 | 274 | |
275 | 275 | ============================================================================== |
276 | -vim:tw=78:ts=8:ft=help:fdm=marker | |
276 | +vim:tw=78:ts=8:noet:ft=help:fdm=marker |
@@ -154,4 +154,4 @@ | ||
154 | 154 | v1 Sep 15, 2005 * Initial release, had browsing, reading, and writing |
155 | 155 | |
156 | 156 | ============================================================================== |
157 | -vim:tw=78:ts=8:ft=help:fdm=marker | |
157 | +vim:tw=78:ts=8:noet:ft=help:fdm=marker |
@@ -627,16 +627,9 @@ | ||
627 | 627 | |
628 | 628 | http://www.cs.wisc.edu/~ghost/gsview/ |
629 | 629 | |
630 | -DOS | |
631 | - | |
632 | -- ps_view. Obtainable from: | |
633 | - | |
634 | - ftp://ftp.pg.gda.pl/pub/TeX/support/ps_view/ | |
635 | - ftp://ftp.dante.de/tex-archive/support/ps_view/ | |
636 | - | |
637 | 630 | Linux |
638 | 631 | |
639 | -- GSview. Linux version of the popular MS-Windows. | |
632 | +- GSview. Linux version of the popular MS-Windows previewer. | |
640 | 633 | Obtainable from: |
641 | 634 | |
642 | 635 | http://www.cs.wisc.edu/~ghost/gsview/ |
@@ -944,11 +944,11 @@ | ||
944 | 944 | "$*" can be given multiple times, for example: > |
945 | 945 | :set makeprg=gcc\ -o\ $*\ $* |
946 | 946 | |
947 | -The 'shellpipe' option defaults to ">" for the Amiga and Win32. This means | |
948 | -that the output of the compiler is saved in a file and not shown on the screen | |
949 | -directly. For Unix "| tee" is used. The compiler output is shown on the | |
950 | -screen and saved in a file the same time. Depending on the shell used "|& | |
951 | -tee" or "2>&1| tee" is the default, so stderr output will be included. | |
947 | +The 'shellpipe' option defaults to ">" for the Amiga and ">%s 2>&1" for Win32. | |
948 | +This means that the output of the compiler is saved in a file and not shown on | |
949 | +the screen directly. For Unix "| tee" is used. The compiler output is shown | |
950 | +on the screen and saved in a file the same time. Depending on the shell used | |
951 | +"|& tee" or "2>&1| tee" is the default, so stderr output will be included. | |
952 | 952 | |
953 | 953 | If 'shellpipe' is empty, the {errorfile} part will be omitted. This is useful |
954 | 954 | for compilers that write to an errorfile themselves (e.g., Manx's Amiga C). |
@@ -326,25 +326,25 @@ | ||
326 | 326 | spell file is used. |
327 | 327 | |
328 | 328 | For example, with these values: |
329 | - 'runtimepath' is "~/.vim,/usr/share/vim81,~/.vim/after" | |
329 | + 'runtimepath' is "~/.vim,/usr/share/vim82,~/.vim/after" | |
330 | 330 | 'encoding' is "iso-8859-2" |
331 | 331 | 'spelllang' is "pl" |
332 | 332 | |
333 | 333 | Vim will look for: |
334 | 334 | 1. ~/.vim/spell/pl.iso-8859-2.spl |
335 | -2. /usr/share/vim81/spell/pl.iso-8859-2.spl | |
335 | +2. /usr/share/vim82/spell/pl.iso-8859-2.spl | |
336 | 336 | 3. ~/.vim/spell/pl.iso-8859-2.add.spl |
337 | -4. /usr/share/vim81/spell/pl.iso-8859-2.add.spl | |
337 | +4. /usr/share/vim82/spell/pl.iso-8859-2.add.spl | |
338 | 338 | 5. ~/.vim/after/spell/pl.iso-8859-2.add.spl |
339 | 339 | |
340 | 340 | This assumes 1. is not found and 2. is found. |
341 | 341 | |
342 | 342 | If 'encoding' is "latin1" Vim will look for: |
343 | 343 | 1. ~/.vim/spell/pl.latin1.spl |
344 | -2. /usr/share/vim81/spell/pl.latin1.spl | |
344 | +2. /usr/share/vim82/spell/pl.latin1.spl | |
345 | 345 | 3. ~/.vim/after/spell/pl.latin1.spl |
346 | 346 | 4. ~/.vim/spell/pl.ascii.spl |
347 | -5. /usr/share/vim81/spell/pl.ascii.spl | |
347 | +5. /usr/share/vim82/spell/pl.ascii.spl | |
348 | 348 | 6. ~/.vim/after/spell/pl.ascii.spl |
349 | 349 | |
350 | 350 | This assumes none of them are found (Polish doesn't make sense when leaving |
@@ -108,7 +108,7 @@ | ||
108 | 108 | gvimdiff vim -gd Start in diff mode |diff-mode| |
109 | 109 | |
110 | 110 | Additional characters may follow, they are ignored. For example, you can have |
111 | -"gvim-5" to start the GUI. You must have an executable by that name then, of | |
111 | +"gvim-8" to start the GUI. You must have an executable by that name then, of | |
112 | 112 | course. |
113 | 113 | |
114 | 114 | On Unix, you would normally have one executable called Vim, and links from the |
@@ -1140,12 +1140,12 @@ | ||
1140 | 1140 | variable too (the default is "$VIMRUNTIME/doc/help.txt": chicken-egg |
1141 | 1141 | problem). The file name ("help.txt" or any other) is removed. Then |
1142 | 1142 | trailing directory names are removed, in this order: "doc", "runtime" and |
1143 | - "vim{version}" (e.g., "vim54"). | |
1143 | + "vim{version}" (e.g., "vim82"). | |
1144 | 1144 | 3. For Win32 Vim tries to use the directory name of the executable. If it |
1145 | 1145 | ends in "/src", this is removed. This is useful if you unpacked the .zip |
1146 | 1146 | file in some directory, and adjusted the search path to find the vim |
1147 | 1147 | executable. Trailing directory names are removed, in this order: "runtime" |
1148 | - and "vim{version}" (e.g., "vim54"). | |
1148 | + and "vim{version}" (e.g., "vim82"). | |
1149 | 1149 | 4. For Unix the compile-time defined installation directory is used (see the |
1150 | 1150 | output of ":version"). |
1151 | 1151 |
@@ -1163,7 +1163,7 @@ | ||
1163 | 1163 | 1. If the environment variable $VIMRUNTIME is set, it is used. You can use |
1164 | 1164 | this when the runtime files are in an unusual location. |
1165 | 1165 | 2. If "$VIM/vim{version}" exists, it is used. {version} is the version |
1166 | - number of Vim, without any '-' or '.'. For example: "$VIM/vim54". This is | |
1166 | + number of Vim, without any '-' or '.'. For example: "$VIM/vim82". This is | |
1167 | 1167 | the normal value for $VIMRUNTIME. |
1168 | 1168 | 3. If "$VIM/runtime" exists, it is used. |
1169 | 1169 | 4. The value of $VIM is used. This is for backwards compatibility with older |
@@ -1175,11 +1175,11 @@ | ||
1175 | 1175 | output of ":version"), steps 2, 3 and 4 are skipped, and the compiled-in |
1176 | 1176 | default is used after step 5. This means that the compiled-in default |
1177 | 1177 | overrules the value of $VIM. This is useful if $VIM is "/etc" and the runtime |
1178 | -files are in "/usr/share/vim/vim54". | |
1178 | +files are in "/usr/share/vim/vim82". | |
1179 | 1179 | |
1180 | 1180 | Once Vim has done this once, it will set the $VIMRUNTIME environment variable. |
1181 | 1181 | To change it later, use a ":let" command like this: > |
1182 | - :let $VIMRUNTIME = "/home/piet/vim/vim54" | |
1182 | + :let $VIMRUNTIME = "/home/piet/vim/vim82" | |
1183 | 1183 | |
1184 | 1184 | In case you need the value of $VIMRUNTIME in a shell (e.g., for a script that |
1185 | 1185 | greps in the help files) you might be able to use this: > |
@@ -1208,8 +1208,8 @@ | ||
1208 | 1208 | buffers are not written, don't forget to bring Vim |
1209 | 1209 | back to the foreground later! |
1210 | 1210 | |
1211 | -In the GUI, suspending is implemented as iconising gvim. In Windows 95/NT, | |
1212 | -gvim is minimized. | |
1211 | +In the GUI, suspending is implemented as iconising gvim. In MS-Windows, gvim | |
1212 | +is minimized. | |
1213 | 1213 | |
1214 | 1214 | On many Unix systems, it is possible to suspend Vim with CTRL-Z. This is only |
1215 | 1215 | possible in Normal and Visual mode (see next chapter, |vim-modes|). Vim will |
@@ -60,8 +60,8 @@ | ||
60 | 60 | the path in another way (see |$VIMRUNTIME|). Usually this works just |
61 | 61 | fine. If it doesn't, try setting the VIM environment variable to the |
62 | 62 | directory where the Vim stuff is located. For example, if your syntax files |
63 | -are in the "/usr/vim/vim81/syntax" directory, set $VIMRUNTIME to | |
64 | -"/usr/vim/vim81". You must do this in the shell, before starting Vim. | |
63 | +are in the "/usr/vim/vim82/syntax" directory, set $VIMRUNTIME to | |
64 | +"/usr/vim/vim82". You must do this in the shell, before starting Vim. | |
65 | 65 | This command also sources the |menu.vim| script when the GUI is running or |
66 | 66 | will start soon. See |'go-M'| about avoiding that. |
67 | 67 |
@@ -7261,6 +7261,7 @@ | ||
7261 | 7261 | i_CTRL-R_CTRL-O insert.txt /*i_CTRL-R_CTRL-O* |
7262 | 7262 | i_CTRL-R_CTRL-P insert.txt /*i_CTRL-R_CTRL-P* |
7263 | 7263 | i_CTRL-R_CTRL-R insert.txt /*i_CTRL-R_CTRL-R* |
7264 | +i_CTRL-SHIFT-Q insert.txt /*i_CTRL-SHIFT-Q* | |
7264 | 7265 | i_CTRL-SHIFT-V insert.txt /*i_CTRL-SHIFT-V* |
7265 | 7266 | i_CTRL-T insert.txt /*i_CTRL-T* |
7266 | 7267 | i_CTRL-U insert.txt /*i_CTRL-U* |
@@ -579,7 +579,7 @@ | ||
579 | 579 | versa. |
580 | 580 | |
581 | 581 | *scroll-region* |
582 | -Some termcaps do not include an entry for 'cs' (scroll region), although the | |
582 | +Some termcaps do not include an entry for "cs" (scroll region), although the | |
583 | 583 | terminal does support it. For example: xterm on a Sun. You can use the |
584 | 584 | builtin_xterm or define t_cs yourself. For example: > |
585 | 585 | :set t_cs=^V^[[%i%d;%dr |
@@ -596,11 +596,9 @@ | ||
596 | 596 | Unfortunately it is not possible to deduce from the termcap how cursor |
597 | 597 | positioning should be done when using a scrolling region: Relative to the |
598 | 598 | beginning of the screen or relative to the beginning of the scrolling region. |
599 | -Most terminals use the first method. A known exception is the MS-Windows | |
600 | -console (pcterm). The 't_CS' option should be set to any string when cursor | |
601 | -positioning is relative to the start of the scrolling region. It should be | |
602 | -set to an empty string otherwise. It defaults to "yes" when 'term' is | |
603 | -"pcterm". | |
599 | +Most terminals use the first method. The 't_CS' option should be set to any | |
600 | +string when cursor positioning is relative to the start of the scrolling | |
601 | +region. It should be set to an empty string otherwise. | |
604 | 602 | |
605 | 603 | Note for xterm users: The shifted cursor keys normally don't work. You can |
606 | 604 | make them work with the xmodmap command and some mappings in Vim. |
@@ -652,15 +650,7 @@ | ||
652 | 650 | :mod[e] [mode] |
653 | 651 | |
654 | 652 | Without argument this only detects the screen size and redraws the screen. |
655 | -With MS-Windows it is possible to switch screen mode. [mode] can be one of | |
656 | -these values: | |
657 | - "bw40" 40 columns black&white | |
658 | - "c40" 40 columns color | |
659 | - "bw80" 80 columns black&white | |
660 | - "c80" 80 columns color (most people use this) | |
661 | - "mono" 80 columns monochrome | |
662 | - "c4350" 43 or 50 lines EGA/VGA mode | |
663 | - number mode number to use, depends on your video card | |
653 | +[mode] was used on MS-DOS, but it doesn't work anymore. | |
664 | 654 | |
665 | 655 | ============================================================================== |
666 | 656 | 4. Slow and fast terminals *slow-fast-terminal* |
@@ -911,8 +901,8 @@ | ||
911 | 901 | which characters are included in a word. A double click on a character |
912 | 902 | that has a match selects until that match (like using "v%"). If the match is |
913 | 903 | an #if/#else/#endif block, the selection becomes linewise. |
914 | -For xterm the time for double clicking can be set with the 'mousetime' option. | |
915 | -For the other systems this time is defined outside of Vim. | |
904 | +For MS-Windows and xterm the time for double clicking can be set with the | |
905 | +'mousetime' option. For the other systems this time is defined outside of Vim. | |
916 | 906 | An example, for using a double click to jump to the tag under the cursor: > |
917 | 907 | :map <2-LeftMouse> :exe "tag ". expand("<cword>")<CR> |
918 | 908 |
@@ -1,4 +1,4 @@ | ||
1 | -*textprop.txt* For Vim version 8.2. Last change: 2019 Dec 07 | |
1 | +*textprop.txt* For Vim version 8.2. Last change: 2020 Jan 10 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -1,4 +1,4 @@ | ||
1 | -*todo.txt* For Vim version 8.2. Last change: 2020 Jan 06 | |
1 | +*todo.txt* For Vim version 8.2. Last change: 2020 Jan 13 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -38,15 +38,8 @@ | ||
38 | 38 | *known-bugs* |
39 | 39 | -------------------- Known bugs and current work ----------------------- |
40 | 40 | |
41 | -- Implement prop_find() issue #4970 Done by Ryan Hackett, #5421 | |
42 | - | |
43 | 41 | Include ipv6 syntax changes? (DJ Lucas, #5360) |
44 | 42 | |
45 | -Still have /* */ comments: | |
46 | - misc1.c | |
47 | - misc2.c | |
48 | - others? | |
49 | - | |
50 | 43 | Popup windows: |
51 | 44 | - Make it possible to put a terminal window in a popup. Would always grab key |
52 | 45 | input? Sort-of possible by creating a hidden terminal and opening a popup |
@@ -128,7 +121,7 @@ | ||
128 | 121 | conversions. |
129 | 122 | |
130 | 123 | Error numbers available: |
131 | -E362, E366, E450, E451, E452, | |
124 | +E366, E450, E451, E452, | |
132 | 125 | E453, E454, E460, E489, E491, E565, E578, E610, E611, E653, |
133 | 126 | E654, E856, E857, E860, E861, E863, E889, E900 |
134 | 127 |
@@ -149,6 +142,9 @@ | ||
149 | 142 | |
150 | 143 | undo result wrong: Masato Nishihata, #4798 |
151 | 144 | |
145 | +Patch to add function to return the text used in the quickfix window. | |
146 | +(Yegappan, #5465) | |
147 | + | |
152 | 148 | Undo puts cursor in wrong line after "cG<Esc>" undo. |
153 | 149 | |
154 | 150 | :unmap <c-n> gives error but does remove the mapping. (Antony Scriven, 2019 |
@@ -163,6 +159,12 @@ | ||
163 | 159 | Also #4994: window-local options not always restored, related to using :badd. |
164 | 160 | Also #5326: netrw buffers are not restored. |
165 | 161 | |
162 | +Patch to support cindent option to handle pragmas differently. | |
163 | +(Max Rumpf, #5468) | |
164 | + | |
165 | +Patch to make ":verbose pwd" show the scope of the directory. (Takuya | |
166 | +Fujiwara, #5469) | |
167 | + | |
166 | 168 | Completion mixes results from the current buffer with tags and other files. |
167 | 169 | Happens when typing CTRL-N while still searching for results. E.g., type "b_" |
168 | 170 | in terminal.c and then CTRL-N twice. |
@@ -182,6 +184,9 @@ | ||
182 | 184 | goes to any buffer, and then :bnext skips help buffers, since they are |
183 | 185 | unlisted. (#4478) |
184 | 186 | |
187 | +Patch to provide search stats in a variable, so that it can be used in the | |
188 | +statusline. (Fujiwara Takuya, #4446) | |
189 | + | |
185 | 190 | Enable 'termbidi' if $VTE_VERSION >= 5703 ? |
186 | 191 | |
187 | 192 | Universal solution to detect if t_RS is working, using cursor position. |
@@ -246,6 +251,9 @@ | ||
246 | 251 | Also see issue #609. |
247 | 252 | We could add the enable/disable sequences to t_ti/t_te or t_ks/t_ke. |
248 | 253 | |
254 | +:buffer completion does not escape "+" properly and results in a regexp error. | |
255 | +(#5467) | |
256 | + | |
249 | 257 | Check_external_diff() is used too often. (Daniel Hahler, #4800) |
250 | 258 | |
251 | 259 | Win32: after "[I" showing matches, scroll wheel messes up screen. (Tsakiridis, |
@@ -1282,10 +1290,6 @@ | ||
1282 | 1290 | Assume the system converts between the actual encoding of the filesystem to |
1283 | 1291 | the system encoding (usually utf-8). |
1284 | 1292 | |
1285 | -Using ":tab drop file" does not trigger BufEnter or TabEnter events. | |
1286 | -(Andy Stewart, 2017 Apr 27, #1660) | |
1287 | -Autocommands blocked in do_arg_all(). Supposed to happen later? | |
1288 | - | |
1289 | 1293 | 'hlsearch' interferes with a Conceal match. (Rom Grk, 2016 Aug 9) |
1290 | 1294 | |
1291 | 1295 | MS-Windows: use WS_HIDE instead of SW_SHOWMINNOACTIVE in os_win32.c? |
@@ -673,21 +673,10 @@ | ||
673 | 673 | finish |
674 | 674 | endif |
675 | 675 | |
676 | -To be compatible with Vim 5.8 use: > | |
677 | - | |
678 | - if version < 600 | |
679 | - syntax clear | |
680 | - elseif exists("b:current_syntax") | |
681 | - finish | |
682 | - endif | |
683 | - | |
684 | 676 | Set "b:current_syntax" to the name of the syntax at the end. Don't forget |
685 | 677 | that included files do this too, you might have to reset "b:current_syntax" if |
686 | 678 | you include two files. |
687 | 679 | |
688 | -If you want your syntax file to work with Vim 5.x, add a check for v:version. | |
689 | -Find an syntax file in the Vim 7.2 distribution for an example. | |
690 | - | |
691 | 680 | Do not include anything that is a user preference. Don't set 'tabstop', |
692 | 681 | 'expandtab', etc. These belong in a filetype plugin. |
693 | 682 |
@@ -64,20 +64,11 @@ | ||
64 | 64 | Or use the home site ftp.vim.org, if you think it's fast enough. Go to the |
65 | 65 | "unix" directory and you'll find a list of files there. The version number is |
66 | 66 | embedded in the file name. You will want to get the most recent version. |
67 | - You can get the files for Unix in two ways: One big archive that contains | |
68 | -everything, or four smaller ones that each fit on a floppy disk. For version | |
69 | -6.1 the single big one is called: | |
70 | - | |
71 | - vim-6.1.tar.bz2 ~ | |
67 | + You can get the files for Unix in one big archive that contains everything: | |
72 | 68 | |
73 | -You need the bzip2 program to uncompress it. If you don't have it, get the | |
74 | -four smaller files, which can be uncompressed with gzip. For Vim 6.1 they are | |
75 | -called: | |
69 | + vim-8.2.tar.bz2 ~ | |
76 | 70 | |
77 | - vim-6.1-src1.tar.gz ~ | |
78 | - vim-6.1-src2.tar.gz ~ | |
79 | - vim-6.1-rt1.tar.gz ~ | |
80 | - vim-6.1-rt2.tar.gz ~ | |
71 | +You need the bzip2 program to uncompress it. | |
81 | 72 | |
82 | 73 | |
83 | 74 | COMPILING |
@@ -87,22 +78,19 @@ | ||
87 | 78 | mkdir ~/vim |
88 | 79 | cd ~/vim |
89 | 80 | |
90 | -Then unpack the archives there. If you have the one big archive, you unpack | |
91 | -it like this: > | |
92 | - | |
93 | - bzip2 -d -c path/vim-6.1.tar.bz2 | tar xf - | |
81 | +Then unpack the archives there. You can unpack it like this: > | |
94 | 82 | |
95 | -Change "path" to where you have downloaded the file. > | |
83 | + tar xf path/vim-8.2.tar.bz2 | |
96 | 84 | |
97 | - gzip -d -c path/vim-6.1-src1.tar.gz | tar xf - | |
98 | - gzip -d -c path/vim-6.1-src2.tar.gz | tar xf - | |
99 | - gzip -d -c path/vim-6.1-rt1.tar.gz | tar xf - | |
100 | - gzip -d -c path/vim-6.1-rt2.tar.gz | tar xf - | |
85 | +If your tar command doesn't support bz2 directly: > | |
101 | 86 | |
87 | + bzip2 -d -c path/vim-8.2.tar.bz2 | tar xf - | |
88 | + | |
89 | +Change "path" to where you have downloaded the file. | |
102 | 90 | If you are satisfied with getting the default features, and your environment |
103 | 91 | is setup properly, you should be able to compile Vim with just this: > |
104 | 92 | |
105 | - cd vim61/src | |
93 | + cd vim82/src | |
106 | 94 | make |
107 | 95 | |
108 | 96 | The make program will run configure and compile everything. Further on we |
@@ -231,9 +219,9 @@ | ||
231 | 219 | Or use the home site ftp.vim.org, if you think it's fast enough. Go to the |
232 | 220 | "pc" directory and you'll find a list of files there. The version number is |
233 | 221 | embedded in the file name. You will want to get the most recent version. |
234 | -We will use "61" here, which is version 6.1. | |
222 | +We will use "82" here, which is version 8.2. | |
235 | 223 | |
236 | - gvim61.exe The self-installing archive. | |
224 | + gvim82.exe The self-installing archive. | |
237 | 225 | |
238 | 226 | This is all you need for the second method. Just launch the executable, and |
239 | 227 | follow the prompts. |
@@ -241,30 +229,28 @@ | ||
241 | 229 | For the first method you must chose one of the binary archives. These are |
242 | 230 | available: |
243 | 231 | |
244 | - gvim61.zip The normal MS-Windows GUI version. | |
245 | - gvim61ole.zip The MS-Windows GUI version with OLE support. | |
232 | + gvim82.zip The normal MS-Windows GUI version. | |
233 | + gvim82ole.zip The MS-Windows GUI version with OLE support. | |
246 | 234 | Uses more memory, supports interfacing with |
247 | 235 | other OLE applications. |
248 | - vim61w32.zip 32 bit MS-Windows console version. For use in | |
249 | - a Win NT/2000/XP console. Does not work well | |
250 | - on Win 95/98. | |
236 | + vim82w32.zip 32 bit MS-Windows console version. | |
251 | 237 | |
252 | 238 | You only need one of them. Although you could install both a GUI and a |
253 | 239 | console version. You always need to get the archive with runtime files. |
254 | 240 | |
255 | - vim61rt.zip The runtime files. | |
241 | + vim82rt.zip The runtime files. | |
256 | 242 | |
257 | 243 | Use your un-zip program to unpack the files. For example, using the "unzip" |
258 | 244 | program: > |
259 | 245 | |
260 | 246 | cd c:\ |
261 | - unzip path\gvim61.zip | |
262 | - unzip path\vim61rt.zip | |
247 | + unzip path\gvim82.zip | |
248 | + unzip path\vim82rt.zip | |
263 | 249 | |
264 | -This will unpack the files in the directory "c:\vim\vim61". If you already | |
250 | +This will unpack the files in the directory "c:\vim\vim82". If you already | |
265 | 251 | have a "vim" directory somewhere, you will want to move to the directory just |
266 | 252 | above it. |
267 | - Now change to the "vim\vim61" directory and run the install program: > | |
253 | + Now change to the "vim\vim82" directory and run the install program: > | |
268 | 254 | |
269 | 255 | install |
270 | 256 |
@@ -277,8 +263,8 @@ | ||
277 | 263 | In case you are not satisfied with the features included in the supplied |
278 | 264 | binaries, you could try compiling Vim yourself. Get the source archive from |
279 | 265 | the same location as where the binaries are. You need a compiler for which a |
280 | -makefile exists. Microsoft Visual C works, but is expensive. The free MinGW | |
281 | -and Cygwin compilers can be used. Check the file src/INSTALLpc.txt for hints. | |
266 | +makefile exists. Microsoft Visual C, MinGW and Cygwin compilers can be used. | |
267 | +Check the file src/INSTALLpc.txt for hints. | |
282 | 268 | |
283 | 269 | ============================================================================== |
284 | 270 | *90.3* Upgrading |
@@ -298,7 +284,7 @@ | ||
298 | 284 | delete the old runtime files manually. Just delete the directory with the |
299 | 285 | version number in it and all files below it. Example: > |
300 | 286 | |
301 | - rm -rf /usr/local/share/vim/vim58 | |
287 | + rm -rf /usr/local/share/vim/vim74 | |
302 | 288 | |
303 | 289 | There are normally no changed files below this directory. If you did change |
304 | 290 | the "filetype.vim" file, for example, you better merge the changes into the |
@@ -308,21 +294,21 @@ | ||
308 | 294 | switching to it, install the new version under another name. You need to |
309 | 295 | specify a configure argument. For example: > |
310 | 296 | |
311 | - ./configure --with-vim-name=vim6 | |
297 | + ./configure --with-vim-name=vim8 | |
312 | 298 | |
313 | 299 | Before running "make install", you could use "make -n install" to check that |
314 | 300 | no valuable existing files are overwritten. |
315 | 301 | When you finally decide to switch to the new version, all you need to do is |
316 | 302 | to rename the binary to "vim". For example: > |
317 | 303 | |
318 | - mv /usr/local/bin/vim6 /usr/local/bin/vim | |
304 | + mv /usr/local/bin/vim8 /usr/local/bin/vim | |
319 | 305 | |
320 | 306 | |
321 | 307 | MS-WINDOWS |
322 | 308 | |
323 | 309 | Upgrading is mostly equal to installing a new version. Just unpack the files |
324 | 310 | in the same place as the previous version. A new directory will be created, |
325 | -e.g., "vim61", for the files of the new version. Your runtime files, vimrc | |
311 | +e.g., "vim82", for the files of the new version. Your runtime files, vimrc | |
326 | 312 | file, viminfo, etc. will be left alone. |
327 | 313 | If you want to run the new version next to the old one, you will have to do |
328 | 314 | some handwork. Don't run the install program, it will overwrite a few files |
@@ -428,7 +414,7 @@ | ||
428 | 414 | someone supplied, you can't do this. Do delete the files manually, here is an |
429 | 415 | example for when "/usr/local" was used as the root: > |
430 | 416 | |
431 | - rm -rf /usr/local/share/vim/vim61 | |
417 | + rm -rf /usr/local/share/vim/vim82 | |
432 | 418 | rm /usr/local/bin/eview |
433 | 419 | rm /usr/local/bin/evim |
434 | 420 | rm /usr/local/bin/ex |
@@ -467,7 +453,7 @@ | ||
467 | 453 | |
468 | 454 | If you installed Vim with the self-installing archive you can run |
469 | 455 | the "uninstall-gui" program located in the same directory as the other Vim |
470 | -programs, e.g. "c:\vim\vim61". You can also launch it from the Start menu if | |
456 | +programs, e.g. "c:\vim\vim82". You can also launch it from the Start menu if | |
471 | 457 | installed the Vim entries there. This will remove most of the files, menu |
472 | 458 | entries and desktop shortcuts. Some files may remain however, as they need a |
473 | 459 | Windows restart before being deleted. |
@@ -477,10 +463,10 @@ | ||
477 | 463 | |
478 | 464 | Else, if you installed Vim with the zip archives, the preferred way is to use |
479 | 465 | the "uninstall" program. You can find it in the same directory as the |
480 | -"install" program, e.g., "c:\vim\vim61". This should also work from the usual | |
466 | +"install" program, e.g., "c:\vim\vim82". This should also work from the usual | |
481 | 467 | "install/remove software" page. |
482 | 468 | However, this only removes the registry entries for Vim. You have to |
483 | -delete the files yourself. Simply select the directory "vim\vim61" and delete | |
469 | +delete the files yourself. Simply select the directory "vim\vim82" and delete | |
484 | 470 | it recursively. There should be no files there that you changed, but you |
485 | 471 | might want to check that first. |
486 | 472 | The "vim" directory probably contains your vimrc file and other runtime |
@@ -133,14 +133,10 @@ | ||
133 | 133 | - All Unix systems (it works on all systems it was tested on, although |
134 | 134 | the GUI and Perl interface may not work everywhere). |
135 | 135 | - Amiga (500, 1000, 1200, 2000, 3000, 4000, ...). |
136 | - - MS-DOS in real-mode (no additional drivers required). | |
137 | - - In protected mode on Windows 3.1 and MS-DOS (DPMI driver required). | |
138 | - - Windows 95 and Windows NT, with support for long file names. | |
139 | - - OS/2 (needs emx.dll) | |
136 | + - MS-Windows | |
140 | 137 | - VMS |
141 | 138 | - BeOS |
142 | 139 | - Macintosh |
143 | - - Risc OS | |
144 | 140 | - IBM OS/390 |
145 | 141 | Note that on some systems features need to be disabled to reduce |
146 | 142 | resource usage. For some outdated systems you need to use an older |
@@ -33,12 +33,11 @@ | ||
33 | 33 | 10. Building with Perl support |
34 | 34 | 11. Building with Ruby support |
35 | 35 | 12. Building with Tcl support |
36 | -13. Building with Terminal support | |
37 | -14. Building with DirectX (DirectWrite) support | |
38 | -15. Windows 3.1 | |
39 | -16. MS-DOS | |
36 | +13. Building with DirectX (DirectWrite) support | |
37 | +14. Windows 3.1 | |
38 | +15. MS-DOS | |
40 | 39 | |
41 | -17. Installing after building from sources | |
40 | +16. Installing after building from sources | |
42 | 41 | |
43 | 42 | |
44 | 43 | The currently recommended way (that means it has been verified to work) is |
@@ -889,23 +888,7 @@ | ||
889 | 888 | TCL=C:/Tcl86 DYNAMIC_TCL=yes TCL_VER=86 TCL_VER_LONG=8.6 |
890 | 889 | |
891 | 890 | |
892 | -13. Building with Terminal support | |
893 | -================================== | |
894 | - | |
895 | -Vim with Terminal support can be built with either MSVC, MinGW or Cygwin. | |
896 | -This uses the included libvterm and winpty. No extra header files or | |
897 | -libraries are needed for building. Just set TERMINAL to yes. | |
898 | - | |
899 | -E.g. When using MSVC: | |
900 | - | |
901 | - nmake -f Make_mvc.mak TERMINAL=yes | |
902 | - | |
903 | -Or when using MinGW: | |
904 | - | |
905 | - mingw32-make -f Make_ming.mak TERMINAL=yes | |
906 | - | |
907 | - | |
908 | -14. Building with DirectX (DirectWrite) support | |
891 | +13. Building with DirectX (DirectWrite) support | |
909 | 892 | =============================================== |
910 | 893 | |
911 | 894 | Vim with DirectX (DirectWrite) support can be built with either MSVC or MinGW. |
@@ -939,20 +922,20 @@ | ||
939 | 922 | mingw32-make -f Make_ming.mak DIRECTX=yes |
940 | 923 | |
941 | 924 | |
942 | -15. Windows 3.1x | |
925 | +14. Windows 3.1x | |
943 | 926 | ================ |
944 | 927 | |
945 | 928 | The Windows 3.1x support was removed in patch 7.4.1364. |
946 | 929 | |
947 | 930 | |
948 | -16. MS-DOS | |
931 | +15. MS-DOS | |
949 | 932 | ========== |
950 | 933 | |
951 | 934 | The MS-DOS support was removed in patch 7.4.1399. Only very old Vim versions |
952 | 935 | work on MS-DOS because of the limited amount of memory available. |
953 | 936 | |
954 | 937 | |
955 | -17. Installing after building from sources | |
938 | +16. Installing after building from sources | |
956 | 939 | ========================================== |
957 | 940 | |
958 | 941 | [provided by Michael Soyka, updated by Ken Takata] |
@@ -960,44 +943,44 @@ | ||
960 | 943 | After you've built the Vim binaries as described above, you're ready to |
961 | 944 | install Vim on your system. However, if you've obtained the Vim sources |
962 | 945 | using Git, Mercurial or by downloading them as a unix tar file, you must |
963 | -first create a "vim81" directory. If you instead downloaded the sources as | |
946 | +first create a "vim82" directory. If you instead downloaded the sources as | |
964 | 947 | zip files, you can skip this setup as the zip archives already have the |
965 | 948 | correct directory structure. |
966 | 949 | |
967 | - A. Create a Vim "runtime" subdirectory named "vim81" | |
950 | + A. Create a Vim "runtime" subdirectory named "vim82" | |
968 | 951 | ----------------------------------------------------- |
969 | 952 | If you obtained your Vim sources as zip files, you can skip this step. |
970 | 953 | Otherwise, continue reading. |
971 | 954 | |
972 | 955 | Go to the directory that contains the Vim "src" and "runtime" |
973 | - directories and create a new subdirectory named "vim81". | |
956 | + directories and create a new subdirectory named "vim82". | |
974 | 957 | |
975 | - Copy the "runtime" files into "vim81": | |
976 | - copy runtime\* vim81 | |
958 | + Copy the "runtime" files into "vim82": | |
959 | + copy runtime\* vim82 | |
977 | 960 | |
978 | - B. Copy the new binaries into the "vim81" directory | |
961 | + B. Copy the new binaries into the "vim82" directory | |
979 | 962 | ---------------------------------------------------- |
980 | 963 | Regardless of how you installed the Vim sources, you need to copy the |
981 | - new binaries you created above into "vim81": | |
964 | + new binaries you created above into "vim82": | |
982 | 965 | |
983 | - copy src\*.exe vim81 | |
984 | - copy src\tee\tee.exe vim81 | |
985 | - copy src\xxd\xxd.exe vim81 | |
966 | + copy src\*.exe vim82 | |
967 | + copy src\tee\tee.exe vim82 | |
968 | + copy src\xxd\xxd.exe vim82 | |
986 | 969 | |
987 | 970 | To install the "Edit with Vim" popup menu, you need both 32-bit and 64-bit |
988 | - versions of gvimext.dll. They should be copied to "vim81\GvimExt32" and | |
989 | - "vim81\GvimExt64" respectively. | |
971 | + versions of gvimext.dll. They should be copied to "vim82\GvimExt32" and | |
972 | + "vim82\GvimExt64" respectively. | |
990 | 973 | First, build the 32-bit version, then: |
991 | 974 | |
992 | - mkdir vim81\GvimExt32 | |
993 | - copy src\GvimExt\gvimext.dll vim81\GvimExt32 | |
975 | + mkdir vim82\GvimExt32 | |
976 | + copy src\GvimExt\gvimext.dll vim82\GvimExt32 | |
994 | 977 | |
995 | 978 | Next, clean the 32-bit version and build the 64-bit version, then: |
996 | 979 | |
997 | - mkdir vim81\GvimExt64 | |
998 | - copy src\GvimExt\gvimext.dll vim81\GvimExt64 | |
980 | + mkdir vim82\GvimExt64 | |
981 | + copy src\GvimExt\gvimext.dll vim82\GvimExt64 | |
999 | 982 | |
1000 | - C. Copy gettext and iconv DLLs into the "vim81" directory | |
983 | + C. Copy gettext and iconv DLLs into the "vim82" directory | |
1001 | 984 | ---------------------------------------------------------- |
1002 | 985 | Get gettext and iconv DLLs from the following site: |
1003 | 986 | https://github.com/mlocati/gettext-iconv-windows/releases |
@@ -1005,7 +988,7 @@ | ||
1005 | 988 | Download the files gettextX.X.X.X-iconvX.XX-shared-{32,64}.zip, extract |
1006 | 989 | DLLs and place them as follows: |
1007 | 990 | |
1008 | - vim81\ | |
991 | + vim82\ | |
1009 | 992 | | libintl-8.dll |
1010 | 993 | | libiconv-2.dll |
1011 | 994 | | libgcc_s_sjlj-1.dll (only for 32-bit) |
@@ -1019,18 +1002,18 @@ | ||
1019 | 1002 | libintl-8.dll |
1020 | 1003 | libiconv-2.dll |
1021 | 1004 | |
1022 | - The DLLs in the "vim81" should be the same bitness with the (g)vim.exe. | |
1005 | + The DLLs in the "vim82" should be the same bitness with the (g)vim.exe. | |
1023 | 1006 | |
1024 | - D. Move the "vim81" directory into the Vim installation subdirectory | |
1007 | + D. Move the "vim82" directory into the Vim installation subdirectory | |
1025 | 1008 | --------------------------------------------------------------------- |
1026 | - Move the "vim81" subdirectory into the subdirectory where you want Vim | |
1009 | + Move the "vim82" subdirectory into the subdirectory where you want Vim | |
1027 | 1010 | to be installed. Typically, this subdirectory will be named "vim". |
1028 | - If you already have a "vim81" subdirectory in "vim", delete it first | |
1011 | + If you already have a "vim82" subdirectory in "vim", delete it first | |
1029 | 1012 | by running its uninstall.exe program. |
1030 | 1013 | |
1031 | 1014 | E. Install Vim |
1032 | 1015 | --------------- |
1033 | - "cd" to your Vim installation subdirectory "vim\vim81" and run the | |
1016 | + "cd" to your Vim installation subdirectory "vim\vim82" and run the | |
1034 | 1017 | "install.exe" program. It will ask you a number of questions about |
1035 | 1018 | how you would like to have your Vim setup. Among these are: |
1036 | 1019 | - You can tell it to write a "_vimrc" file with your preferences in the |