comparison runtime/doc/version7.txt @ 164:8b0ee9d57d7f

updated for version 7.0050
author vimboss
date Sat, 12 Feb 2005 14:29:27 +0000
parents 7e6c3b196717
children 0e902b8f511f
comparison
equal deleted inserted replaced
163:06bc859d1a32 164:8b0ee9d57d7f
1 *version7.txt* For Vim version 7.0aa. Last change: 2005 Feb 07 1 *version7.txt* For Vim version 7.0aa. Last change: 2005 Feb 11
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
20 20
21 Vim script enhancements |new-vim-script| 21 Vim script enhancements |new-vim-script|
22 KDE support |new-KDE| 22 KDE support |new-KDE|
23 Translated manual pages |new-manpage-trans| 23 Translated manual pages |new-manpage-trans|
24 Internal grep |new-vimgrep| 24 Internal grep |new-vimgrep|
25 POSIX compatibility |new-posix|
25 Various new items |new-items-7| 26 Various new items |new-items-7|
26 27
27 IMPROVEMENTS |improvements-7| 28 IMPROVEMENTS |improvements-7|
28 29
29 COMPILE TIME CHANGES |compile-changes-7| 30 COMPILE TIME CHANGES |compile-changes-7|
92 non-latin1 environment, such as Russian. 93 non-latin1 environment, such as Russian.
93 94
94 Previously Vim would exit when there are two windows, both of them displaying 95 Previously Vim would exit when there are two windows, both of them displaying
95 a help file, and using ":quit". Now only the window is closed. 96 a help file, and using ":quit". Now only the window is closed.
96 97
98 "-w {scriptout}" only works when {scriptout} doesn't start with a digit.
99 Otherwise it's used to set the 'window' option.
100
97 ============================================================================== 101 ==============================================================================
98 NEW FEATURES *new-7* 102 NEW FEATURES *new-7*
99 103
100 Vim script enhancements *new-vim-script* 104 Vim script enhancements *new-vim-script*
101 ----------------------- 105 -----------------------
154 The ":vimgrep" command can be used to search for a pattern in a list of files. 158 The ":vimgrep" command can be used to search for a pattern in a list of files.
155 This is like the ":grep" command, but no external program is used. Besides 159 This is like the ":grep" command, but no external program is used. Besides
156 better portability, handling of different file encodings and using multi-line 160 better portability, handling of different file encodings and using multi-line
157 patterns, this also allows grepping in compressed and remote files. 161 patterns, this also allows grepping in compressed and remote files.
158 |:vimgrep|. 162 |:vimgrep|.
163
164
165 POSIX compatibility *new-posix*
166 -------------------
167
168 The POSIX test suite was used to verify POSIX compatibility. A number of
169 problems have been fixed to make Vim more POSIX compatible. Some of them
170 conflict with traditional Vi or expected behavior. The $VIM_POSIX environment
171 variable can be set to get POSIX compatibility. See |posix|.
172
173 Items that were fixed for both Vi and POSIX compatibilty:
174 - repeating "R" with a count only overwrites text once; added the 'X' flag to
175 'cpoptions' |cpo-X|
176 - a vertical movement command that moves to a non-existing line fails; added
177 the '-' flag to 'cpoptions' |cpo--|
178 - when preserving a file and doing ":q!" the file can be recovered; added the
179 '&' flag to 'cpoptions' |cpo-&|
180 - The 'window' option is partly implemented. It specifies how much CTRL-F and
181 CTRL-B scroll when there is one window. The "-w {number}" argument is now
182 accepted. "-w {scriptout}" only works when {scriptout} doesn't start with a
183 digit.
184 - Allow "-c{command}" argument, no space between "-c" and {command}.
185 - When writing a file with ":w!" don't reset 'readonly' when 'Z' is present in
186 'cpoptions'.
187
159 188
160 189
161 Various new items *new-items-7* 190 Various new items *new-items-7*
162 ----------------- 191 -----------------
163 192
759 788
760 When using ":s" or "&" to repeat the last substitute and "$" was used to put 789 When using ":s" or "&" to repeat the last substitute and "$" was used to put
761 the cursor in the last column, put the cursor in the last column again. This 790 the cursor in the last column, put the cursor in the last column again. This
762 is Vi compatible. 791 is Vi compatible.
763 792
793 Vim is not fully POSIX compliant but sticks with traditional Vi behavior.
794 Added a few flags in 'cpoptions' to behave the POSIX way when wanted. The
795 $VIM_POSIX environment variable is checked to set the default.
796
797 Appending to a register didn't insert a line break like Vi. Added the '>'
798 flag to 'cpoptions' for this.
799
800 Using "I" in a line with only blanks appended to the line. This is not Vi
801 compatible. Added the 'H' flag in 'coptions' for this.
802
803 When joining multiple lines the cursor would be at the last joint, but Vi
804 leaves it at the position where "J" would put it. Added the 'q' flag in
805 'cpoptions' for this.
806
807 Autoindent didn't work for ":insert" and ":append".
808
809 Using ":append" in an empty buffer kept the dummy line. Now it's deleted to
810 be Vi compatible.
811
812 When reading commands from a file and stdout goes to a terminal, would still
813 request the xterm version. Vim can't read it, thus the output went to the
814 shell and caused trouble there.
815
764 vim:tw=78:ts=8:ft=help:norl: 816 vim:tw=78:ts=8:ft=help:norl: