aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-08-26 03:32:44 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-08-26 03:32:44 -0400
commitdb598c5790eefac9ce414f4348d2bae2c6d25484 (patch)
treec050a6e7409a29372020ec3ac3ab9716885d970d /runtime
parent062402fb645544e79d0b5b90684f96aead446436 (diff)
parent5a6d7a59ddb30a88dbd94f76d5d9f4e5de75b296 (diff)
downloadrneovim-db598c5790eefac9ce414f4348d2bae2c6d25484.tar.gz
rneovim-db598c5790eefac9ce414f4348d2bae2c6d25484.tar.bz2
rneovim-db598c5790eefac9ce414f4348d2bae2c6d25484.zip
Merge pull request #1116 from fornwall/remove-versions-txt
Remove version{4,5,6,7}.txt
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/Makefile8
-rw-r--r--runtime/doc/help.txt4
-rw-r--r--runtime/doc/version4.txt355
-rw-r--r--runtime/doc/version5.txt7813
-rw-r--r--runtime/doc/version6.txt14530
-rw-r--r--runtime/doc/version7.txt18311
6 files changed, 0 insertions, 41021 deletions
diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile
index d36490a75f..8bd5aaf049 100644
--- a/runtime/doc/Makefile
+++ b/runtime/doc/Makefile
@@ -136,10 +136,6 @@ DOCS = \
usr_90.txt \
usr_toc.txt \
various.txt \
- version4.txt \
- version5.txt \
- version6.txt \
- version7.txt \
vi_diff.txt \
visual.txt \
windows.txt \
@@ -268,10 +264,6 @@ HTMLS = \
usr_90.html \
usr_toc.html \
various.html \
- version4.html \
- version5.html \
- version6.html \
- version7.html \
vi_diff.html \
vimindex.html \
visual.html \
diff --git a/runtime/doc/help.txt b/runtime/doc/help.txt
index f13a5294ec..a9af50dd09 100644
--- a/runtime/doc/help.txt
+++ b/runtime/doc/help.txt
@@ -173,10 +173,6 @@ Interfaces ~
Versions ~
|vi_diff.txt| Main differences between Vim and Vi
-|version4.txt| Differences between Vim version 3.0 and 4.x
-|version5.txt| Differences between Vim version 4.6 and 5.x
-|version6.txt| Differences between Vim version 5.7 and 6.x
-|version7.txt| Differences between Vim version 6.4 and 7.x
*sys-file-list*
Remarks about specific systems ~
|os_390.txt| OS/390 Unix
diff --git a/runtime/doc/version4.txt b/runtime/doc/version4.txt
deleted file mode 100644
index 6b791be88b..0000000000
--- a/runtime/doc/version4.txt
+++ /dev/null
@@ -1,355 +0,0 @@
-*version4.txt* For Vim version 7.4. Last change: 2006 Apr 24
-
-
- VIM REFERENCE MANUAL by Bram Moolenaar
-
-
-This document lists the incompatible differences between Vim 3.0 and Vim 4.0.
-Although 4.0 is mentioned here, this is also for version 4.1, 4.2, etc..
-
-This file is important for everybody upgrading from Vim 3.0. Read it
-carefully to avoid unexpected problems.
-
-'backup' option default changed |backup-changed|
-Extension for backup file changed |backup-extension|
-Structure of swap file changed |swapfile-changed|
-"-w scriptout" argument changed |scriptout-changed|
-Backspace and Delete keys |backspace-delete|
-Escape for | changed |escape-bar|
-Key codes changed |key-codes-changed|
-Terminal options changed |termcap-changed|
-'errorformat' option changed |errorformat-changed|
-'graphic' option gone |graphic-option-gone|
-'yankendofline' option gone |ye-option-gone|
-'icon' and 'title' default value changed |icon-changed|
-'highlight' option changed |highlight-changed|
-'tildeop' and 'weirdinvert' short names changed |short-name-changed|
-Use of "v", "V" and "CTRL-V" in Visual mode |use-visual-cmds|
-CTRL-B in Insert mode removed |toggle-revins|
-
-
-'backup' option default changed *backup-changed*
--------------------------------
-
-The default value for 'backup' used to be on. This resulted in a backup file
-being made when the original file was overwritten.
-
-Now the default for 'backup' is off. As soon as the writing of the file has
-successfully finished, the backup file is deleted. If you want to keep the
-backup file, set 'backup' on in your vimrc. The reason for this change is
-that many people complained that leaving a backup file behind is not
-Vi-compatible. |'backup'|
-
-
-Extension for backup file changed *backup-extension*
----------------------------------
-
-The extension for the backup file used to be ".bak". Since other programs
-also use this extension and some users make copies with this extension, it was
-changed to the less obvious "~". Another advantage is that this takes less
-space, which is useful when working on a system with short file names. For
-example, on MS-DOS the backup files for "longfile.c" and "longfile.h" would
-both become "longfile.bak"; now they will be "longfile.c~" and "longfile.h~".
-
-If you prefer to use ".bak", you can set the 'backupext' option: >
- :set bex=.bak
-
-
-Structure of swap file changed *swapfile-changed*
-------------------------------
-
-The contents of the swap file were extended with several parameters. Vim
-stores the user name and other information about the edited file to make
-recovery more easy and to be able to know where the swap file comes from. The
-first part of the swap file can now be understood on a machine with a
-different byte order or sizeof(int). When you try to recover a file on such a
-machine, you will get an error message that this is not possible.
-
-Because of this change, swap files cannot be exchanged between 3.0 and 4.0.
-If you have a swap file from a crashed session with 3.0, use Vim 3.0 to
-recover the file---don't use 4.0. |swap-file|
-
-
-"-w scriptout" argument changed *scriptout-changed*
--------------------------------
-
-"vim -w scriptout" used to append to the scriptout file. Since this was
-illogical, it now creates a new file. An existing file is not overwritten
-(to avoid destroying an existing file for those who rely on the appending).
-[This was removed again later] |-w|
-
-
-Backspace and Delete keys *backspace-delete*
--------------------------
-
-In 3.0 both the delete key and the backspace key worked as a backspace in
-insert mode; they deleted the character to the left of the cursor. In 4.0 the
-delete key has a new function: it deletes the character under the cursor, just
-like it does on the command-line. If the cursor is after the end of the line
-and 'bs' is set, two lines are joined. |<Del>| |i_<Del>|
-
-In 3.0 the backspace key was always defined as CTRL-H and delete as CTRL-?.
-In 4.0 the code for the backspace and delete key is obtained from termcap or
-termlib, and adjusted for the "stty erase" value on Unix. This helps people
-who define the erase character according to the keyboard they are working on.
- |<BS>| |i_<BS>|
-
-If you prefer backspace and delete in Insert mode to have the old behavior,
-put this line in your vimrc:
-
- inoremap ^? ^H
-
-And you may also want to add these, to fix the values for <BS> and <Del>:
-
- set t_kb=^H
- set t_kD=^?
-
-(Enter ^H with CTRL-V CTRL-H and ^? with CTRL-V CTRL-? or <Del>.)
-
-If the value for t_kb is correct, but the t_kD value is not, use the ":fixdel"
-command. It will set t_kD according to the value of t_kb. This is useful if
-you are using several different terminals. |:fixdel|
-
-When ^H is not recognized as <BS> or <Del>, it is used like a backspace.
-
-
-Escape for | changed *escape-bar*
---------------------
-
-When the 'b' flag is present in 'cpoptions', the backslash cannot be used to
-escape '|' in mapping and abbreviate commands, only CTRL-V can. This is
-Vi-compatible. If you work in Vi-compatible mode and had used "\|" to include
-a bar in a mapping, this needs to be replaced by "^V|". See |:bar|.
-
-
-Key codes changed *key-codes-changed*
------------------
-
-The internal representation of key codes has changed dramatically. In 3.0 a
-one-byte code was used to represent a key. This caused problems with
-different characters sets that also used these codes. In 4.0 a three-byte
-code is used that cannot be confused with a character. |key-notation|
-
-If you have used the single-byte key codes in your vimrc for mappings, you
-will have to replace them with the 4.0 codes. Instead of using the three-byte
-code directly, you should use the symbolic representation for this in <>. See
-the table below. The table also lists the old name, as it was used in the 3.0
-documentation.
-
-The key names in <> can be used in mappings directly. This makes it possible
-to copy/paste examples or type them literally. The <> notation has been
-introduced for this |<>|. The 'B' and '<' flags must not be present in
-'cpoptions' to enable this to work |'cpoptions'|.
-
-old name new name old code old MS-DOS code ~
- hex dec hex dec ~
-<ESC> <Esc>
-<TAB> <Tab>
-<LF> <NL> <NewLine> <LineFeed>
-<SPACE> <Space>
-<NUL> <Nul>
-<BELL> <Bell>
-<BS> <BS> <BackSpace>
-<INSERT> <Insert>
-<DEL> <Del> <Delete>
-<HOME> <Home>
-<END> <End>
-<PAGE_UP> <PageUp>
-<PAGE_DOWN> <PageDown>
-
-<C_UP> <Up> 0x80 128 0xb0 176
-<C_DOWN> <Down> 0x81 129 0xb1 177
-<C_LEFT> <Left> 0x82 130 0xb2 178
-<C_RIGHT> <Right> 0x83 131 0xb3 179
-<SC_UP> <S-Up> 0x84 132 0xb4 180
-<SC_DOWN> <S-Down> 0x85 133 0xb5 181
-<SC_LEFT> <S-Left> 0x86 134 0xb6 182
-<SC_RIGHT> <S-Right> 0x87 135 0xb7 183
-
-<F1> <F1> 0x88 136 0xb8 184
-<F2> <F2> 0x89 137 0xb9 185
-<F3> <F3> 0x8a 138 0xba 186
-<F4> <F4> 0x8b 139 0xbb 187
-<F5> <F5> 0x8c 140 0xbc 188
-<F6> <F6> 0x8d 141 0xbd 189
-<F7> <F7> 0x8e 142 0xbe 190
-<F8> <F8> 0x8f 143 0xbf 191
-<F9> <F9> 0x90 144 0xc0 192
-<F10> <F10> 0x91 145 0xc1 193
-
-<SF1> <S-F1> 0x92 146 0xc2 194
-<SF2> <S-F2> 0x93 147 0xc3 195
-<SF3> <S-F3> 0x94 148 0xc4 196
-<SF4> <S-F4> 0x95 149 0xc5 197
-<SF5> <S-F5> 0x96 150 0xc6 198
-<SF6> <S-F6> 0x97 151 0xc7 199
-<SF7> <S-F7> 0x98 152 0xc8 200
-<SF8> <S-F8> 0x99 153 0xc9 201
-<SF9> <S-F9> 0x9a 154 0xca 202
-<SF10> <S-F10> 0x9b 155 0xcb 203
-
-<HELP> <Help> 0x9c 156 0xcc 204
-<UNDO> <Undo> 0x9d 157 0xcd 205
-
- (not used) 0x9e 158 0xce 206
- (not used) 0x9f 159 0xcf 207
-
-
-Terminal options changed *termcap-changed*
-------------------------
-
-The names of the terminal options have been changed to match the termcap names
-of these options. All terminal options now have the name t_xx, where xx is
-the termcap name. Normally these options are not used, unless you have a
-termcap entry that is wrong or incomplete, or you have set the highlight
-options to a different value. |terminal-options|
-
-Note that for some keys there is no termcap name. Use the <> type of name
-instead, which is a good idea anyway.
-
-Note that "t_ti" has become "t_mr" (invert/reverse output) and "t_ts" has
-become "t_ti" (init terminal mode). Be careful when you use "t_ti"!
-
-old name new name meaning ~
-t_cdl t_DL delete number of lines *t_cdl*
-t_ci t_vi cursor invisible *t_ci*
-t_cil t_AL insert number of lines *t_cil*
-t_cm t_cm move cursor
-t_cri t_RI cursor number of chars right *t_cri*
-t_cv t_ve cursor visible *t_cv*
-t_cvv t_vs cursor very visible *t_cvv*
-t_dl t_dl delete line
-t_cs t_cs scroll region
-t_ed t_cl clear display *t_ed*
-t_el t_ce clear line *t_el*
-t_il t_al insert line *t_il*
- t_da display may be retained above the screen
- t_db display may be retained below the screen
-t_ke t_ke put terminal out of keypad transmit mode
-t_ks t_ks put terminal in keypad transmit mode
-t_ms t_ms save to move cursor in highlight mode
-t_se t_se normal mode (undo t_so)
-t_so t_so shift out (standout) mode
-t_ti t_mr reverse highlight
-t_tb t_md bold mode *t_tb*
-t_tp t_me highlight end *t_tp*
-t_sr t_sr scroll reverse
-t_te t_te out of termcap mode
-t_ts t_ti into termcap mode *t_ts_old*
-t_vb t_vb visual bell
-t_csc t_CS cursor is relative to scroll region *t_csc*
-
-t_ku t_ku <Up> arrow up
-t_kd t_kd <Down> arrow down
-t_kr t_kr <Right> arrow right
-t_kl t_kl <Left> arrow left
-t_sku <S-Up> shifted arrow up *t_sku*
-t_skd <S-Down> shifted arrow down *t_skd*
-t_skr t_%i <S-Right> shifted arrow right *t_skr*
-t_skl t_#4 <S-Left> shifted arrow left *t_skl*
-t_f1 t_k1 <F1> function key 1 *t_f1*
-t_f2 t_k2 <F2> function key 2 *t_f2*
-t_f3 t_k3 <F3> function key 3 *t_f3*
-t_f4 t_k4 <F4> function key 4 *t_f4*
-t_f5 t_k5 <F5> function key 5 *t_f5*
-t_f6 t_k6 <F6> function key 6 *t_f6*
-t_f7 t_k7 <F7> function key 7 *t_f7*
-t_f8 t_k8 <F8> function key 8 *t_f8*
-t_f9 t_k9 <F9> function key 9 *t_f9*
-t_f10 t_k; <F10> function key 10 *t_f10*
-t_sf1 <S-F1> shifted function key 1 *t_sf1*
-t_sf2 <S-F2> shifted function key 2 *t_sf2*
-t_sf3 <S-F3> shifted function key 3 *t_sf3*
-t_sf4 <S-F4> shifted function key 4 *t_sf4*
-t_sf5 <S-F5> shifted function key 5 *t_sf5*
-t_sf6 <S-F6> shifted function key 6 *t_sf6*
-t_sf7 <S-F7> shifted function key 7 *t_sf7*
-t_sf8 <S-F8> shifted function key 8 *t_sf8*
-t_sf9 <S-F9> shifted function key 9 *t_sf9*
-t_sf10 <S-F10> shifted function key 10 *t_sf10*
-t_help t_%1 <Help> help key *t_help*
-t_undo t_&8 <Undo> undo key *t_undo*
-
-
-'errorformat' option changed *errorformat-changed*
-----------------------------
-
-'errorformat' can now contain several formats, separated by commas. The first
-format that matches is used. The default values have been adjusted to catch
-the most common formats. |errorformat|
-
-If you have a format that contains a comma, it needs to be preceded with a
-backslash. Type two backslashes, because the ":set" command will eat one.
-
-
-'graphic' option gone *graphic-option-gone*
----------------------
-
-The 'graphic' option was used to make the characters between <~> and 0xa0
-display directly on the screen. Now the 'isprint' option takes care of this
-with many more possibilities. The default setting is the same; you only need
-to look into this if you previously set the 'graphic' option in your vimrc.
- |'isprint'|
-
-
-'yankendofline' option gone *ye-option-gone*
----------------------------
-
-The 'yankendofline' option has been removed. Instead you can just use
- :map Y y$
-
-
-'icon' and 'title' default value changed *icon-changed*
-----------------------------------------
-
-The 'title' option is now only set by default if the original title can be
-restored. Avoids "Thanks for flying Vim" titles. If you want them anyway,
-put ":set title" in your vimrc. |'title'|
-
-The default for 'icon' now depends on the possibility of restoring the
-original value, just like 'title'. If you don't like your icon titles to be
-changed, add this line to your vimrc: |'icon'|
- :set noicon
-
-
-'highlight' option changed *highlight-changed*
---------------------------
-
-The 'i' flag now means italic highlighting, instead of invert. The 'r' flag
-is used for reverse highlighting, which is what 'i' used to be. Normally you
-won't see the difference, because italic mode is not supported on most
-terminals and reverse mode is used as a fallback. |'highlight'|
-
-When an occasion is not present in 'highlight', use the mode from the default
-value for 'highlight', instead of reverse mode.
-
-
-'tildeop' and 'weirdinvert' short names changed *short-name-changed*
------------------------------------------------
-
-Renamed 'to' (abbreviation for 'tildeop') to 'top'. |'tildeop'|
-Renamed 'wi' (abbreviation for 'weirdinvert') to 'wiv'. |'weirdinvert'|
-
-This was done because Vi uses 'wi' as the short name for 'window' and 'to' as
-the short name for 'timeout'. This means that if you try setting these
-options, you won't get an error message, but the effect will be different.
-
-
-Use of "v", "V" and "CTRL-V" in Visual mode *use-visual-cmds*
--------------------------------------------
-
-In Visual mode, "v", "V", and "CTRL-V" used to end Visual mode. Now this
-happens only if the Visual mode was in the corresponding type. Otherwise the
-type of Visual mode is changed. Now only ESC can be used in all circumstances
-to end Visual mode without doing anything. |v_V|
-
-
-CTRL-B in Insert mode removed *toggle-revins*
------------------------------
-
-CTRL-B in Insert mode used to toggle the 'revins' option. If you don't know
-this and accidentally hit CTRL-B, it is very difficult to find out how to undo
-it. Since hardly anybody uses this feature, it is disabled by default. If
-you want to use it, define RIGHTLEFT in feature.h before compiling. |'revins'|
-
- vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/doc/version5.txt b/runtime/doc/version5.txt
deleted file mode 100644
index 1cc6a25597..0000000000
--- a/runtime/doc/version5.txt
+++ /dev/null
@@ -1,7813 +0,0 @@
-*version5.txt* For Vim version 7.4. Last change: 2012 Aug 08
-
-
- VIM REFERENCE MANUAL by Bram Moolenaar
-
-Welcome to Vim Version 5.0!
-
-This document lists the differences between Vim 4.x and Vim 5.0.
-Although 5.0 is mentioned here, this is also for version 5.1, 5.2, etc.
-See |vi_diff.txt| for an overview of differences between Vi and Vim 5.0.
-See |version4.txt| for differences between Vim 3.0 and Vim 4.0.
-
-INCOMPATIBLE: |incompatible-5|
-
-Default value for 'compatible' changed |cp-default|
-Text formatting command "Q" changed |Q-command-changed|
-Command-line arguments changed |cmdline-changed|
-Autocommands are kept |autocmds-kept|
-Use of 'hidden' changed |hidden-changed|
-Text object commands changed |text-objects-changed|
-X-Windows Resources removed |x-resources|
-Use of $VIM |$VIM-use|
-Use of $HOME for MS-DOS and Win32 |$HOME-use|
-Tags file format changed |tags-file-changed|
-Options changed |options-changed|
-CTRL-B in Insert mode gone |i_CTRL-B-gone|
-
-NEW FEATURES: |new-5|
-
-Syntax highlighting |new-highlighting|
-Built-in script language |new-script|
-Perl and Python support |new-perl-python|
-Win32 GUI version |added-win32-GUI|
-VMS version |added-VMS|
-BeOS version |added-BeOS|
-Macintosh GUI version |added-Mac|
-More Vi compatible |more-compatible|
-Read input from stdin |read-stdin|
-Regular expression patterns |added-regexp|
-Overloaded tags |tag-overloaded|
-New commands |new-commands|
-New options |added-options|
-New command-line arguments |added-cmdline-args|
-Various additions |added-various|
-
-IMPROVEMENTS |improvements-5|
-
-COMPILE TIME CHANGES |compile-changes-5|
-
-BUG FIXES |bug-fixes-5|
-
-VERSION 5.1 |version-5.1|
-Changed |changed-5.1|
-Added |added-5.1|
-Fixed |fixed-5.1|
-
-VERSION 5.2 |version-5.2|
-Long lines editable |long-lines|
-File browser added |file-browser-5.2|
-Dialogs added |dialogs-added|
-Popup menu added |popup-menu-added|
-Select mode added |new-Select-mode|
-Session files added |new-session-files|
-User defined functions and commands |new-user-defined|
-New interfaces |interfaces-5.2|
-New ports |ports-5.2|
-Multi-byte support |new-multi-byte|
-New functions |new-functions-5.2|
-New options |new-options-5.2|
-New Ex commands |new-ex-commands-5.2|
-Changed |changed-5.2|
-Added |added-5.2|
-Fixed |fixed-5.2|
-
-VERSION 5.3 |version-5.3|
-Changed |changed-5.3|
-Added |added-5.3|
-Fixed |fixed-5.3|
-
-VERSION 5.4 |version-5.4|
-Runtime directory introduced |new-runtime-dir|
-Filetype introduced |new-filetype-5.4|
-Vim script line continuation |new-line-continuation|
-Improved session files |improved-sessions|
-Autocommands improved |improved-autocmds-5.4|
-Encryption |new-encryption|
-GTK GUI port |new-GTK-GUI|
-Menu changes |menu-changes-5.4|
-Viminfo improved |improved-viminfo|
-Various new commands |new-commands-5.4|
-Various new options |new-options-5.4|
-Vim scripts |new-script-5.4|
-Avoid hit-enter prompt |avoid-hit-enter|
-Improved quickfix |improved-quickfix|
-Regular expressions |regexp-changes-5.4|
-Changed |changed-5.4|
-Added |added-5.4|
-Fixed |fixed-5.4|
-
-VERSION 5.5 |version-5.5|
-Changed |changed-5.5|
-Added |added-5.5|
-Fixed |fixed-5.5|
-
-VERSION 5.6 |version-5.6|
-Changed |changed-5.6|
-Added |added-5.6|
-Fixed |fixed-5.6|
-
-VERSION 5.7 |version-5.7|
-Changed |changed-5.7|
-Added |added-5.7|
-Fixed |fixed-5.7|
-
-VERSION 5.8 |version-5.8|
-Changed |changed-5.8|
-Added |added-5.8|
-Fixed |fixed-5.8|
-
-==============================================================================
- INCOMPATIBLE *incompatible-5*
-
-Default value for 'compatible' changed *cp-default*
---------------------------------------
-
-Vim version 5.0 tries to be more Vi compatible. This helps people who use Vim
-as a drop-in replacement for Vi, but causes some things to be incompatible
-with version 4.x.
-
-In version 4.x the default value for the 'compatible' option was off. Now the
-default is on. The first thing you will notice is that the "u" command undoes
-itself. Other side effects will be that mappings may work differently or not
-work at all.
-
-Since a lot of people switching from Vim 4.x to 5.0 will find this annoying,
-the 'compatible' option is switched off if Vim finds a vimrc file. This is a
-bit of magic to make sure that 90% of the Vim users will not be bitten by
-this change.
-
-What does this mean?
-- If you prefer to run in 'compatible' mode and don't have a vimrc file, you
- don't have to do anything.
-- If you prefer to run in 'nocompatible' mode and do have a vimrc file, you
- don't have to do anything.
-- If you prefer to run in 'compatible' mode and do have a vimrc file, you
- should put this line first in your vimrc file: >
- :set compatible
-- If you prefer to run in 'nocompatible' mode and don't have a vimrc file,
- you can do one of the following:
- - Create an empty vimrc file (e.g.: "~/.vimrc" for Unix).
- - Put this command in your .exrc file or $EXINIT: >
- :set nocompatible
-< - Start Vim with the "-N" argument.
-
-If you are new to Vi and Vim, using 'nocompatible' is strongly recommended,
-because Vi has a lot of unexpected side effects, which are avoided by this
-setting. See 'compatible'.
-
-If you like some things from 'compatible' and some not, you can tune the
-compatibility with 'cpoptions'.
-
-When you invoke Vim as "ex" or "gex", Vim always starts in compatible mode.
-
-
-Text formatting command "Q" changed *Q-command-changed*
------------------------------------
-
-The "Q" command formerly formatted lines to the width the 'textwidth' option
-specifies. The command for this is now "gq" (see |gq| for more info). The
-reason for this change is that "Q" is the standard Vi command to enter "Ex"
-mode, and Vim now does in fact have an "Ex" mode (see |Q| for more info).
-
-If you still want to use "Q" for formatting, use this mapping: >
- :noremap Q gq
-And if you also want to use the functionality of "Q": >
- :noremap gQ Q
-
-
-Command-line arguments changed *cmdline-changed*
-------------------------------
-
-Command-line file-arguments and option-arguments can now be mixed. You can
-give options after the file names. Example: >
- vim main.c -g
-
-This is not possible when editing a file that starts with a '-'. Use the "--"
-argument then |---|: >
- vim -g -- -main.c
-
-"-v" now means to start Ex in Vi mode, use "-R" for read-only mode.
-old: "vim -v file" |-v|
-new: "vim -R file" |-R|
-
-"-e" now means to start Vi in Ex mode, use "-q" for quickfix.
-old: "vim -e errorfile" |-e|
-new: "vim -q errorfile" |-q|
-
-"-s" in Ex mode now means to run in silent (batch) mode. |-s-ex|
-
-"-x" reserved for crypt, use "-f" to avoid starting a new CLI (Amiga).
-old: "vim -x file" |-x|
-new: "vim -f file" |-f|
-
-Vim allows up to ten "+cmd" and "-c cmd" arguments. Previously Vim executed
-only the last one.
-
-"-n" now overrides any setting for 'updatecount' in a vimrc file, but not in
-a gvimrc file.
-
-
-Autocommands are kept *autocmds-kept*
----------------------
-
-Before version 5.0, autocommands with the same event, file name pattern, and
-command could appear only once. This was fine for simple autocommands (like
-setting option values), but for more complicated autocommands, where the same
-command might appear twice, this restriction caused problems. Therefore
-Vim stores all autocommands and keeps them in the order that they are defined.
-
-The most obvious side effect of this change is that when you source a vimrc
-file twice, the autocommands in it will be defined twice. To avoid this, do
-one of these:
-
-- Remove any autocommands that might potentially defined twice before
- defining them. Example: >
- :au! * *.ext
- :au BufEnter *.ext ...
-
-- Put the autocommands inside an ":if" command. Example: >
- if !exists("did_ext_autocmds")
- let did_ext_autocmds = 1
- autocmd BufEnter *.ext ...
- endif
-
-- Put your autocommands in a different autocommand group so you can remove
- them before defining them |:augroup|: >
- augroup uncompress
- au!
- au BufReadPost *.gz ...
- augroup END
-
-
-Use of 'hidden' changed *hidden-changed*
------------------------
-
-In version 4.x, only some commands used the 'hidden' option. Now all commands
-uses it whenever a buffer disappears from a window.
-
-Previously you could do ":buf xxx" in a changed buffer and that buffer would
-then become hidden. Now you must set the 'hidden' option for this to work.
-
-The new behavior is simpler: whether Vim hides buffers no longer depends on
-the specific command that you use.
-- with 'hidden' not set, you never get hidden buffers. Exceptions are the
- ":hide" and ":close!" commands and, in rare cases, where you would otherwise
- lose changes to the buffer.
-- With 'hidden' set, you almost never unload a buffer. Exceptions are the
- ":bunload" or ":bdel" commands.
-
-":buffer" now supports a "!": abandon changes in current buffer. So do
-":bnext", ":brewind", etc.
-
-
-Text object commands changed *text-objects-changed*
-----------------------------
-
-Text object commands have new names. This allows more text objects and makes
-characters available for other Visual mode commands. Since no more single
-characters were available, text objects names now require two characters.
-The first one is always 'i' or 'a'.
- OLD NEW ~
- a aw a word |v_aw|
- A aW a WORD |v_aW|
- s as a sentence |v_as|
- p ap a paragraph |v_ap|
- S ab a () block |v_ab|
- P aB a {} block |v_aB|
-
-There is another set of text objects that starts with "i", for "inner". These
-select the same objects, but exclude white space.
-
-
-X-Windows Resources removed *x-resources*
---------------------------
-
-Vim no longer supports the following X resources:
-- boldColor
-- italicColor
-- underlineColor
-- cursorColor
-
-Vim now uses highlight groups to set colors. This avoids the confusion of
-using a bold Font, which would imply a certain color. See |:highlight| and
-|gui-resources|.
-
-
-Use of $VIM *$VIM-use*
------------
-
-Vim now uses the VIM environment variable to find all Vim system files. This
-includes the global vimrc, gvimrc, and menu.vim files and all on-line help
-and syntax files. See |$VIM|. Starting with version 5.4, |$VIMRUNTIME| can
-also be used.
-For Unix, Vim sets a default value for $VIM when doing "make install".
-When $VIM is not set, its default value is the directory from 'helpfile',
-excluding "/doc/help.txt".
-
-
-Use of $HOME for MS-DOS and Win32 *$HOME-use*
----------------------------------
-
-The MS-DOS and Win32 versions of Vim now first check $HOME when searching for
-a vimrc or exrc file and for reading/storing the viminfo file. Previously Vim
-used $VIM for these systems, but this causes trouble on a system with several
-users. Now Vim uses $VIM only when $HOME is not set or the file is not found
-in $HOME. See |_vimrc|.
-
-
-Tags file format changed *tags-file-changed*
-------------------------
-
-Only tabs are allowed to separate fields in a tags file. This allows for
-spaces in a file name and is still Vi compatible. In previous versions of
-Vim, any white space was allowed to separate the fields. If you have a file
-which doesn't use a single tab between fields, edit the tags file and execute
-this command: >
- :%s/\(\S*\)\s\+\(\S*\)\s\+\(.*\)/\1\t\2\t\3/
-
-
-Options changed *options-changed*
----------------
-
-The default value of 'errorfile' has changed from "errors.vim" to "errors.err".
-The reason is that only Vim scripts should have the ".vim" extensions.
-
-The ":make" command no longer uses the 'errorfile' option. This prevents the
-output of the ":make" command from overwriting a manually saved error file.
-":make" uses the 'makeef' option instead. This also allows for generating a
-unique name, to prevent concurrently running ":make" commands from overwriting
-each other's files.
-
-With 'insertmode' set, a few more things change:
-- <Esc> in Normal mode goes to Insert mode.
-- <Esc> in Insert mode doesn't leave Insert mode.
-- When doing ":set im", go to Insert mode immediately.
-
-Vim considers a buffer to be changed when the 'fileformat' (formerly the
-'textmode' option) is different from the buffer's initial format.
-
-
-CTRL-B in Insert mode gone *i_CTRL-B-gone*
---------------------------
-
-When Vim was compiled with the |+rightleft| feature, you could use CTRL-B to
-toggle the 'revins' option. Unfortunately, some people hit the 'B' key
-accidentally when trying to type CTRL-V or CTRL-N and then didn't know how to
-undo this. Since toggling the 'revins' option can easily be done with the
-mapping below, this use of the CTRL-B key is disabled. You can still use the
-CTRL-_ key for this |i_CTRL-_|. >
- :imap <C-B> <C-O>:set revins!<CR>
-
-==============================================================================
- NEW FEATURES *new-5*
-
-Syntax highlighting *new-highlighting*
--------------------
-
-Vim now has a very flexible way to highlighting just about any type of file.
-See |syntax|. Summary: >
- :syntax on
-
-Colors and attributes can be set for the syntax highlighting, and also for
-other highlighted items with the ':' flag in the 'highlight' option. All
-highlighted items are assigned a highlight group which specifies their
-highlighting. See |:highlight|. The default colors have been improved.
-
-You can use the "Normal" group to set the default fore/background colors for a
-color terminal. For the GUI, you can use this group to specify the font, too.
-
-The "2html.vim" script can be used to convert any file that has syntax
-highlighting to HTML. The colors will be exactly the same as how you see them
-in Vim. With a HTML viewer you can also print the file with colors.
-
-
-Built-in script language *new-script*
-------------------------
-
-A few extra commands and an expression evaluator enable you to write simple
-but powerful scripts. Commands include ":if" and ":while". Expressions can
-manipulate numbers and strings. You can use the '=' register to insert
-directly the result of an expression. See |expression|.
-
-
-Perl and Python support *new-perl-python*
------------------------
-
-Vim can call Perl commands with ":perldo", ":perl", etc. See |perl|.
-Patches made by Sven Verdoolaege and Matt Gerassimoff.
-
-Vim can call Python commands with ":python" and ":pyfile". See |python|.
-
-Both of these are only available when enabled at compile time.
-
-
-Win32 GUI version *added-win32-GUI*
------------------
-
-The GUI has been ported to MS Windows 95 and NT. All the features of the X11
-GUI are available to Windows users now. |gui-w32|
-This also fixes problems with running the Win32 console version under Windows
-95, where console support has always been bad.
-There is also a version that supports OLE automation interface. |if_ole.txt|
-Vim can be integrated with Microsoft Developer Studio using the VisVim DLL.
-It is possible to produce a DLL version of gvim with Borland C++ (Aaron).
-
-
-VMS version *added-VMS*
------------
-
-Vim can now also be used on VMS systems. Port done by Henk Elbers.
-This has not been tested much, but it should work.
-Sorry, no documentation!
-
-
-BeOS version *added-BeOS*
-------------
-
-Vim can be used on BeOS systems (including the BeBox). (Olaf Seibert)
-See |os_beos.txt|.
-
-
-Macintosh GUI version *added-Mac*
----------------------
-
-Vim can now be used on the Macintosh. (Dany St-Amant)
-It has not been tested much yet, be careful!
-See |os_mac.txt|.
-
-
-More Vi compatible *more-compatible*
-------------------
-
-There is now a real Ex mode. Started with the "Q" command, or by calling the
-executable "ex" or "gex". |Ex-mode|
-
-Always allow multi-level undo, also in Vi compatible mode. When the 'u' flag
-in 'cpoptions' is included, CTRL-R is used for repeating the undo or redo
-(like "." in Nvi).
-
-
-Read input from stdin *read-stdin*
----------------------
-
-When using the "-" command-line argument, Vim reads its text input from stdin.
-This can be used for putting Vim at the end of a pipe: >
- grep "^a.*" *.c | vim -
-See |--|.
-
-
-Regular expression patterns *added-regexp*
----------------------------
-
-Added specifying a range for the number of matches of an atom: "\{a,b}". |/\{|
-Added the "shortest match" regexp "\{-}" (Webb).
-Added "\s", matches a white character. Can replace "[ \t]". |/\s|
-Added "\S", matches a non-white character. Can replace "[^ \t]". |/\S|
-
-
-Overloaded tags *tag-overloaded*
----------------
-
-When using a language like C++, there can be several tags for the same
-tagname. Commands have been added to be able to jump to any of these
-overloaded tags:
-|:tselect| List matching tags, and jump to one of them.
-|:stselect| Idem, and split window.
-|g_CTRL-]| Do ":tselect" with the word under the cursor.
-
- After ":ta {tagname}" with multiple matches:
-|:tnext| Go to next matching tag.
-|:tprevious| Go to previous matching tag.
-|:trewind| Go to first matching tag.
-|:tlast| Go to last matching tag.
-
-The ":tag" command now also accepts wildcards. When doing command-line
-completion on tags, case-insensitive matching is also available (at the end).
-
-
-New commands *new-commands*
-------------
-
-|:amenu| Define menus for all modes, inserting a CTRL-O for Insert
- mode, ESC for Visual and CTRL-C for Cmdline mode. "amenu" is
- used for the default menus and the Syntax menu.
-
-|:augroup| Set group to be used for following autocommands. Allows the
- grouping of autocommands to enable deletion of a specific
- group.
-
-|:crewind| Go to first error.
-|:clast| Go to last error.
-
-|:doautoall| Execute autocommands for all loaded buffers.
-
-|:echo| Echo its argument, which is an expression. Can be used to
- display messages which include variables.
-
-|:execute| Execute its argument, which is an expression. Can be used to
- built up an Ex command with anything.
-
-|:hide| Works like ":close".
-
-|:if| Conditional execution, for built-in script language.