Bram Moolenaar | 2a8d1f8 | 2005-02-05 21:43:56 +0000 | [diff] [blame] | 1 | *version7.txt* For Vim version 7.0aa. Last change: 2005 Feb 04 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 2 | |
| 3 | |
| 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
| 5 | |
| 6 | |
| 7 | Welcome to Vim 7! A large number of features has been added. This file |
| 8 | mentions all the new items, changes to existing features and bug fixes |
Bram Moolenaar | b2956cd | 2005-01-27 14:42:53 +0000 | [diff] [blame] | 9 | compared to Vim 6.x. Use this command to see the version you are using: > |
| 10 | :version |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 11 | |
| 12 | See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0. |
| 13 | See |version4.txt| for differences between Vim 3.x and Vim 4.x. |
| 14 | See |version5.txt| for differences between Vim 4.x and Vim 5.x. |
| 15 | See |version6.txt| for differences between Vim 5.x and Vim 6.x. |
| 16 | |
| 17 | INCOMPATIBLE CHANGES |incompatible-7| |
| 18 | |
| 19 | NEW FEATURES |new-7| |
| 20 | |
Bram Moolenaar | bac234e | 2005-01-17 22:21:07 +0000 | [diff] [blame] | 21 | Vim script enhancements |new-vim-script| |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 22 | KDE support |new-KDE| |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 23 | Translated manual pages |new-manpage-trans| |
Bram Moolenaar | 8fc061c | 2004-12-29 21:03:02 +0000 | [diff] [blame] | 24 | Internal grep |new-vimgrep| |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 25 | Various new items |new-items-7| |
| 26 | |
| 27 | IMPROVEMENTS |improvements-7| |
| 28 | |
| 29 | COMPILE TIME CHANGES |compile-changes-7| |
| 30 | |
| 31 | BUG FIXES |bug-fixes-7| |
| 32 | |
| 33 | ============================================================================== |
| 34 | INCOMPATIBLE CHANGES *incompatible-7* |
| 35 | |
| 36 | These changes are incompatible with previous releases. Check this list if you |
Bram Moolenaar | b2956cd | 2005-01-27 14:42:53 +0000 | [diff] [blame] | 37 | run into a problem when upgrading from Vim 6.x to 7.0. |
| 38 | |
| 39 | A ":write file" command no longer resets the 'modified' flag of the buffer, |
| 40 | unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the |
| 41 | buffer is still modified compared to the original file. And when undoing |
| 42 | all changes the file would actually be marked modified. It does mean that |
| 43 | ":quit" fails now. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 44 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 45 | ":helpgrep" now uses a help window to display a match. |
| 46 | |
Bram Moolenaar | 1cd871b | 2004-12-19 22:46:22 +0000 | [diff] [blame] | 47 | In an argument list double quotes could be used to include spaces in a file |
| 48 | name. This caused a difference between ":edit" and ":next" for escaping |
| 49 | double quotes and it is incompatible with some versions of Vi. |
| 50 | Command Vim 6.x file name Vim 7.x file name ~ |
| 51 | :edit foo\"888 'foo"888' 'foo"888' |
| 52 | :next foo\"888 'foo888' 'foo"888' |
| 53 | :next a\"b c\"d 'ab cd' 'a"b' and 'c"d' |
| 54 | |
Bram Moolenaar | 8c71145 | 2005-01-14 21:53:12 +0000 | [diff] [blame] | 55 | In a |literal-string| a single quote can be doubled to get one. |
| 56 | ":echo 'a''b'" would result in "a b", but now that two quotes stand for one it |
| 57 | results in "a'b". |
| 58 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 59 | |
| 60 | Minor incompatibilities: |
| 61 | |
| 62 | For filetype detection: For many types, instead of ~/.dir/filename use |
| 63 | */.dir/filename, so that it also works for other user's files. |
| 64 | |
| 65 | ":0verbose" now sets 'verbose' to zero instead of one. |
| 66 | |
| 67 | Removed the old and incomplete "VimBuddy" code. |
| 68 | |
| 69 | Buffers without a name report "No Name" instead of "No File". It was |
| 70 | confusing for buffers with a name and 'buftype' set to "nofile". |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 71 | |
Bram Moolenaar | 7b0294c | 2004-10-11 10:16:09 +0000 | [diff] [blame] | 72 | When ":file xxx" is used in a buffer without a name, the alternate file name |
| 73 | isn't set. This avoids creating buffers without a name that are not useful. |
| 74 | |
| 75 | The "2html.vim" script now converts closed folds to HTML. This means the HTML |
| 76 | looks like its displayed, with the same folds open and closed. Use "zR" if no |
| 77 | folds should appear in the HTML. (partly by Carl Osterwisch) |
Bram Moolenaar | 47136d7 | 2004-10-12 20:02:24 +0000 | [diff] [blame] | 78 | Diff mode now is also converted as it is displayed. |
Bram Moolenaar | 7b0294c | 2004-10-11 10:16:09 +0000 | [diff] [blame] | 79 | |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 80 | Win32: The effect of the <F10> key depended on 'winaltkeys'. Now it depends |
| 81 | on whether <F10> has been mapped or not. This allows mapping <F10> without |
| 82 | changing 'winaltkeys'. |
| 83 | |
Bram Moolenaar | 8c71145 | 2005-01-14 21:53:12 +0000 | [diff] [blame] | 84 | When 'octal' is in 'nrformats' and using CTRL-A on "08" it became "018", which |
| 85 | is illogical. Now it becomes "9". The leading zero(s) is(are) removed to |
| 86 | avoid the number becoming octal after incrementing "009" to "010". |
Bram Moolenaar | 1cd871b | 2004-12-19 22:46:22 +0000 | [diff] [blame] | 87 | |
| 88 | When 'encoding' is set to a Unicode encoding, the value for 'fileencodings' |
| 89 | now includes "default" before "latin1". This means that for files with 8-bit |
| 90 | encodings the default is to use the encoding specified by the environment, if |
| 91 | possible. Previously latin1 would always be used, which is wrong in a |
| 92 | non-latin1 environment, such as Russian. |
| 93 | |
Bram Moolenaar | d438e91 | 2005-01-31 19:21:46 +0000 | [diff] [blame] | 94 | 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 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 97 | ============================================================================== |
| 98 | NEW FEATURES *new-7* |
| 99 | |
Bram Moolenaar | bac234e | 2005-01-17 22:21:07 +0000 | [diff] [blame] | 100 | Vim script enhancements *new-vim-script* |
| 101 | ----------------------- |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 102 | |
| 103 | In Vim scripts the following types have been added: |
| 104 | |
Bram Moolenaar | 31c67ef | 2005-01-11 21:34:41 +0000 | [diff] [blame] | 105 | List ordered list of items |List| |
| 106 | Dictionary associative array of items |Dictionary| |
| 107 | Funcref reference to a function |Funcref| |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 108 | |
| 109 | Many functions and commands have been added to support the new types. |
| 110 | |
Bram Moolenaar | 31c67ef | 2005-01-11 21:34:41 +0000 | [diff] [blame] | 111 | The |string()| function can be used to get a string representation of a |
| 112 | variable. Works for Numbers, Strings and composites of them. Then |eval()| |
| 113 | can be used to turn the string back into the variable value. |
| 114 | |
Bram Moolenaar | bac234e | 2005-01-17 22:21:07 +0000 | [diff] [blame] | 115 | The |:let| command can now use ":let var += expr" like using ":let var = var + |
| 116 | expr". "-=" and ".=" works in a similar way. |
| 117 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 118 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 119 | KDE support *new-KDE* |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 120 | ----------- |
| 121 | |
| 122 | Kvim is the KDE version of Vim. It uses the Qt toolkit. See |KVim|. |
| 123 | (Thomas Capricelli, Philippe Fremy, Mickael Marchand, Mark Westcott, et al.) |
| 124 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 125 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 126 | MzScheme interface *new-MzScheme* |
| 127 | ------------------ |
| 128 | |
| 129 | The MzScheme interpreter is supported. |MzScheme| |
| 130 | The |:mzscheme| command can be used to execute MzScheme commands. |
| 131 | The |:mzfile| command can be used to execute an MzScheme script file. |
| 132 | |
Bram Moolenaar | 31c67ef | 2005-01-11 21:34:41 +0000 | [diff] [blame] | 133 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 134 | Printing multi-byte text *new-print-multi-byte* |
| 135 | ------------------ |
| 136 | |
| 137 | The |:hardcopy| command now supports printing multi-byte characters. |
| 138 | The 'printmbcharset' and 'printmbfont' options are used for this. |
| 139 | Also see |postscript-cjk-printing|. (Mike Williams) |
| 140 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 141 | |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 142 | Translated manual pages *new-manpage-trans* |
| 143 | ----------------------- |
| 144 | |
| 145 | The manual page of Vim and associated programs is now also available in |
| 146 | Italian (translated by Antonio Colombo). More languages will follow. |
| 147 | |
Bram Moolenaar | b5bf5b8 | 2004-12-24 14:35:23 +0000 | [diff] [blame] | 148 | The Unix Makefile installs the Italian manual pages in .../man/it/man1/. |
| 149 | |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 150 | |
Bram Moolenaar | 8fc061c | 2004-12-29 21:03:02 +0000 | [diff] [blame] | 151 | Internal grep *new-vimgrep* |
| 152 | ------------- |
| 153 | |
| 154 | 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 |
| 156 | better portability, handling of different file encodings and using multi-line |
| 157 | patterns, this also allows grepping in compressed and remote files. |
| 158 | |:vimgrep|. |
| 159 | |
| 160 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 161 | Various new items *new-items-7* |
| 162 | ----------------- |
| 163 | |
| 164 | Normal mode commands: ~ |
| 165 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 166 | a", a' and a` New text objects to select quoted strings. |a'| |
| 167 | i", i' and i' (Taro Muraoka) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 168 | |
| 169 | Options: ~ |
| 170 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 171 | 'completefunc' The name of a function used for user-specified Insert |
| 172 | mode completion. CTRL-X CTRL-U can be used in Insert |
| 173 | mode to do any kind of completion. (Taro Muraoka) |
| 174 | 'quoteescape' Characters used to escape quotes inside a string. |
| 175 | Used for the a", a' and a` text objects. |a'| |
Bram Moolenaar | 592e0a2 | 2004-07-03 16:05:59 +0000 | [diff] [blame] | 176 | 'numberwidth' Minimal width of the space used for the 'number' |
| 177 | option. (Emmanuel Renieris) |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 178 | 'mzquantum' Time in msec to schedule MzScheme threads. |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 179 | 'printmbcharset' CJK character set to be used for :hardcopy |
| 180 | 'printmbfont' font names to be used for CJK output of :hardcopy |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 181 | 'fsync' Whether fsync() is called after writing a file. |
| 182 | (Ciaran McCreesh) |
Bram Moolenaar | b5bf5b8 | 2004-12-24 14:35:23 +0000 | [diff] [blame] | 183 | 'wildoptions' "tagfile" value enables listing the file name of |
| 184 | matching tags for CTRL-D command line completion. |
| 185 | (based on an idea from Yegappan Lakshmanan) |
Bram Moolenaar | 86b6835 | 2004-12-27 21:59:20 +0000 | [diff] [blame] | 186 | 'formatlistpat' pattern to recognize a numbered list for formatting. |
| 187 | (idea by Hugo Haas) |
| 188 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 189 | |
| 190 | Ex commands: ~ |
| 191 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 192 | Win32: The ":winpos" command now also works in the console. (Vipin Aravind) |
| 193 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 194 | |:startreplace| Start Replace mode. (Charles Campbell) |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 195 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 196 | |:0file| Removes the name of the buffer. (Charles Campbell) |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 197 | |
Bram Moolenaar | 2df6dcc | 2004-07-12 15:53:54 +0000 | [diff] [blame] | 198 | |:diffoff| Switch off diff mode in the current window or in all |
| 199 | windows. |
| 200 | |
Bram Moolenaar | d4755bb | 2004-09-02 19:12:26 +0000 | [diff] [blame] | 201 | |:keepalt| Do not change the alternate file. |
| 202 | |
Bram Moolenaar | c0197e2 | 2004-09-13 20:26:32 +0000 | [diff] [blame] | 203 | |:delmarks| Delete marks. |
| 204 | |
Bram Moolenaar | 7b0294c | 2004-10-11 10:16:09 +0000 | [diff] [blame] | 205 | |:sandbox| Command modifier: execute the argument in the sandbox. |
| 206 | |
Bram Moolenaar | b5bf5b8 | 2004-12-24 14:35:23 +0000 | [diff] [blame] | 207 | |:exusage| Help for Ex commands (Nvi command). |
| 208 | |
| 209 | |:viusage| Help for Vi commands (Nvi command). |
| 210 | |
Bram Moolenaar | 86b6835 | 2004-12-27 21:59:20 +0000 | [diff] [blame] | 211 | |:cbuffer| Read error lines from a buffer. (partly by Yegappan |
| 212 | Lakshmanan) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 213 | |
| 214 | New functions: ~ |
| 215 | |
Bram Moolenaar | bac234e | 2005-01-17 22:21:07 +0000 | [diff] [blame] | 216 | |add()| append an item to a List |
| 217 | |append()| append List of lines to the buffer |
| 218 | |browsedir()| Dialog to select a directory. |
| 219 | |byteidx()| Index of a character. (Ilya Sher) |
| 220 | |call()| call a function with List as arguments |
| 221 | |copy()| make a shallow copy of a List or Dictionary |
| 222 | |count()| count nr of times a value is in a List or Dictionary |
| 223 | |deepcopy()| make a full copy of a List or Dictionary |
| 224 | |empty()| check if List or Dictionary is empty |
| 225 | |extend()| append one List to another or add items from one |
| 226 | Dictionary to another |
| 227 | |filter()| remove selected items from a List or Dictionary |
| 228 | |finddir()| Find a directory in 'path'. |
| 229 | |findfile()| Find a file in 'path'. (Johannes Zellner) |
| 230 | |foldtextresult()| The text displayed for a closed fold at line "lnum". |
| 231 | |function()| make a Funcref out of a function name |
| 232 | |get()| get an item from a List or Dictionary |
| 233 | |getfontname()| Get actual font name being used. |
| 234 | |getfperm()| Get file permission string. (Nikolai Weibull) |
| 235 | |getftype()| Get type of file. (Nikolai Weibull) |
| 236 | |getline()| get List with buffer lines |
| 237 | |has_key()| check whether a key appears in a Dictionary |
| 238 | |insert()| insert an item somewhere in a List |
| 239 | |items()| get List of Dictionary key-value pairs |
| 240 | |join()| join List items into a String |
| 241 | |keys()| get List of Dictionary keys |
| 242 | |len()| number of items in a List or Dictionary |
| 243 | |map()| change each List or Dictionary item |
Bram Moolenaar | 2a8d1f8 | 2005-02-05 21:43:56 +0000 | [diff] [blame] | 244 | |matchlist()| list with match and submatches of a pattern in a string |
Bram Moolenaar | bac234e | 2005-01-17 22:21:07 +0000 | [diff] [blame] | 245 | |max()| maximum value in a List or Dictionary |
| 246 | |min()| minimum value in a List or Dictionary |
Bram Moolenaar | 2a8d1f8 | 2005-02-05 21:43:56 +0000 | [diff] [blame] | 247 | |readfile()| read a file into a list of lines |
Bram Moolenaar | bac234e | 2005-01-17 22:21:07 +0000 | [diff] [blame] | 248 | |remove()| remove one or more items from a List or Dictionary |
| 249 | |repeat()| Repeat "expr" "count" times. (Christophe Poucet) |
| 250 | |reverse()| reverse the order of a List |
| 251 | |sort()| sort a List |
| 252 | |split()| split a String into a List |
| 253 | |string()| String representation of a List or Dictionary |
| 254 | |system()| Filters {input} through a shell command. |
| 255 | |tr()| Translate characters. (Ron Aaron) |
| 256 | |values()| get List of Dictionary values |
Bram Moolenaar | 2a8d1f8 | 2005-02-05 21:43:56 +0000 | [diff] [blame] | 257 | |writefile()| write a list of lines into a file |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 258 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 259 | |
| 260 | New autocommand events: ~ |
| 261 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 262 | |InsertEnter| starting Insert or Replace mode |
| 263 | |InsertChange| going from Insert to Replace mode or back |
| 264 | |InsertLeave| leaving Insert or Replace mode |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 265 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 266 | |ColorScheme| after loading a color scheme |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 267 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 268 | |
Bram Moolenaar | c0197e2 | 2004-09-13 20:26:32 +0000 | [diff] [blame] | 269 | New items in search patterns: ~ |
| 270 | |/\%d| \%d123 search for character with decimal number |
| 271 | |/\]| [\d123] idem, in a colletion |
| 272 | |/\%o| \%o103 search for character with octal number |
| 273 | |/\]| [\o1o3] idem, in a colletion |
| 274 | |/\%x| \%x1a search for character with 2 pos. hex number |
| 275 | |/\]| [\x1a] idem, in a colletion |
| 276 | |/\%u| \%u12ab search for character with 4 pos. hex number |
| 277 | |/\]| [\u12ab] idem, in a colletion |
| 278 | |/\%U| \%U1234abcd search for character with 8 pos. hex number |
| 279 | |/\]| [\U1234abcd] idem, in a colletion |
| 280 | (The above partly by Ciaran McCreesh) |
| 281 | |
| 282 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 283 | New Syntax/Indent/FTplugin files: ~ |
| 284 | |
| 285 | MuPAD source syntax, indent and ftplugin. (Dave Silvia) |
| 286 | |
Bram Moolenaar | d4755bb | 2004-09-02 19:12:26 +0000 | [diff] [blame] | 287 | ABAB/4 syntax file. (Marius van Wyk) |
| 288 | |
| 289 | SQL-Informix syntax file. (Dean L Hill) |
| 290 | |
Bram Moolenaar | 15d0a8c | 2004-09-06 17:44:46 +0000 | [diff] [blame] | 291 | PHP compiler plugin. (Doug Kearns) |
| 292 | |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 293 | Sive syntax file. (Nikolai Weibull) |
| 294 | |
Bram Moolenaar | 15d0a8c | 2004-09-06 17:44:46 +0000 | [diff] [blame] | 295 | |
Bram Moolenaar | 47136d7 | 2004-10-12 20:02:24 +0000 | [diff] [blame] | 296 | New Keymaps: ~ |
| 297 | |
| 298 | Sinhala (Sri Lanka) (Harshula Jayasuriya) |
| 299 | |
| 300 | |
Bram Moolenaar | 15d0a8c | 2004-09-06 17:44:46 +0000 | [diff] [blame] | 301 | New message translations: ~ |
| 302 | |
| 303 | The Ukranian messages are now also available in cp1251. |
| 304 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 305 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 306 | Others: ~ |
| 307 | |
| 308 | Mac: Add the selection type to the clipboard, so that Block, line and |
| 309 | character selections can be used between two Vims. (Eckehard Berns) |
| 310 | Also fixes the problem that setting 'clipboard' to "unnamed" breaks using |
| 311 | "yyp". |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 312 | |
Bram Moolenaar | 592e0a2 | 2004-07-03 16:05:59 +0000 | [diff] [blame] | 313 | Mac: GUI font selector. (Peter "Rain Dog" Cucka) |
| 314 | |
Bram Moolenaar | 2079a60 | 2005-01-04 21:43:22 +0000 | [diff] [blame] | 315 | GUI font selector for Motif. (Marcin Dalecki) |
Bram Moolenaar | 567e4de | 2004-12-31 21:01:02 +0000 | [diff] [blame] | 316 | |
Bram Moolenaar | 2079a60 | 2005-01-04 21:43:22 +0000 | [diff] [blame] | 317 | Mnemonics for the Motif find/replace dialog. (Marcin Dalecki) |
Bram Moolenaar | 567e4de | 2004-12-31 21:01:02 +0000 | [diff] [blame] | 318 | |
Bram Moolenaar | 46c9c73 | 2004-12-12 11:37:09 +0000 | [diff] [blame] | 319 | Mac: better integration with Xcode. Post a fake mouse-up event after the odoc |
| 320 | event and the drag receive handler to work around a stall after Vim loads a |
| 321 | file. Fixed an off-by-one line number error. (Da Woon Jung) |
| 322 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 323 | The netrw plugin now also supports viewing a directory, when "scp://" is used. |
| 324 | Deleting and renaming files is possible. (Charles Campbell) |
| 325 | |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 326 | Added the t_SI and t_EI escape sequences for starting and ending Insert mode. |
| 327 | To be used to set the cursor shape to a bar or a block. No default values, |
| 328 | they are not supported by termcap/terminfo. |
| 329 | |
Bram Moolenaar | b5bf5b8 | 2004-12-24 14:35:23 +0000 | [diff] [blame] | 330 | Autocommands can be defined local to a buffer. This means they will also work |
| 331 | when the buffer does not have a name or no specific name. See |
| 332 | |autocmd-buflocal|. (Yakov Lerner) |
| 333 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 334 | ============================================================================== |
| 335 | IMPROVEMENTS *improvements-7* |
| 336 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 337 | ":helpgrep" accepts a language specifier after the pattern: "pat@it". |
| 338 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 339 | Move the help for printing to a separate help file. It's quite a lot now. |
| 340 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 341 | ":breakadd here" and ":breakdel here" can be used to set or delete a |
| 342 | breakpoint at the cursor. |
| 343 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 344 | The tutor was updated to make it simpler to use and added text to explain a |
| 345 | few more important commands. Used ideas from Gabriel Zachmann. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 346 | |
Bram Moolenaar | cfbc5ee | 2004-07-02 15:38:35 +0000 | [diff] [blame] | 347 | Unix: When libcall() fails obtain an error message with dlerror() and display |
| 348 | it. (Johannes Zellner) |
| 349 | |
Bram Moolenaar | 592e0a2 | 2004-07-03 16:05:59 +0000 | [diff] [blame] | 350 | Added "nbsp" in 'listchars'. (David Blanchet) |
| 351 | |
Bram Moolenaar | 21cf823 | 2004-07-16 20:18:37 +0000 | [diff] [blame] | 352 | Added the "acwrite" value for the 'buftype' option. This is for a buffer that |
| 353 | doesn not have a name that refers to a file and is written with BufWriteCmd |
| 354 | autocommands. |
| 355 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 356 | For lisp indenting and matching parenthesis: (Sergey Khorev) |
| 357 | - square brackets are recognized properly |
| 358 | - #\(, #\), #\[ and #\] are recognized as character literals |
| 359 | - Lisp line comments (delimited by semicolon) are recognized |
| 360 | |
Bram Moolenaar | 89cb5e0 | 2004-07-19 20:55:54 +0000 | [diff] [blame] | 361 | Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher) |
| 362 | |
Bram Moolenaar | 5eb86f9 | 2004-07-26 12:53:41 +0000 | [diff] [blame] | 363 | winnr() takes an optional "$" and "#" arguments. (Nikolai Weibull, Yegappan |
| 364 | Lakshmanan) |
| 365 | |
| 366 | Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull) |
| 367 | |
Bram Moolenaar | d4755bb | 2004-09-02 19:12:26 +0000 | [diff] [blame] | 368 | When uncompressing fails in the gzip plugin, give an error message but don't |
| 369 | delete the raw text. Helps if the file has a .gz extension but is not |
| 370 | actually compressed. (Andrew Pimlott) |
| 371 | |
| 372 | When C, C++ or IDL syntax is used, may additionally load doxygen syntax. |
| 373 | Also support setting the filetype to "cdoxygen" for C plus doxygen syntax. |
| 374 | (Michael Geddes) |
| 375 | |
| 376 | The ":registers" command now displays multi-byte characters properly. |
| 377 | |
| 378 | VMS: In the usage message mention that a slash can be used to make a flag |
| 379 | upper case. Add color support to the builtin vt320 terminal codes. |
| 380 | (Zoltan Arpadffy) |
| 381 | |
Bram Moolenaar | 15d0a8c | 2004-09-06 17:44:46 +0000 | [diff] [blame] | 382 | For the '%' item in 'viminfo', allow a number to set a maximum for the number |
| 383 | of buffers. |
| 384 | |
Bram Moolenaar | b5bf5b8 | 2004-12-24 14:35:23 +0000 | [diff] [blame] | 385 | The 'statusline' option can be local to the window, so that each window can |
| 386 | have a different value. (partly by Yegappan Lakshmanan) |
| 387 | |
Bram Moolenaar | 3fdfa4a | 2004-10-07 21:02:47 +0000 | [diff] [blame] | 388 | When a file looks like a shell script, check for an "exec" command that starts |
| 389 | the tcl interpreter. (suggested by Alexios Zavras) |
| 390 | |
| 391 | Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that |
| 392 | digraphs still work when iconv is not available. |
| 393 | |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 394 | When a session file is loaded while editing an unnamed, empty buffer that |
| 395 | buffer is wiped out. Avoids that there is an unused buffer in the buffer |
| 396 | list. |
| 397 | |
| 398 | Win32: When libintl.dll supports bind_textdomain_codeset(), use it. |
| 399 | (NAKADAIRA Yukihiro) |
| 400 | |
| 401 | When foldtext() finds no text after removing the comment leader, use the |
| 402 | second line of the fold. Helps for C-style /* */ comments where the first |
| 403 | line is just "/*". |
| 404 | |
Bram Moolenaar | 1cd871b | 2004-12-19 22:46:22 +0000 | [diff] [blame] | 405 | When editing the same file from two systems (e.g., Unix and MS-Windows) there |
| 406 | mostly was no warning for an existing swap file, because the name of the |
| 407 | edited file differs (e.g., y:\dir\file vs /home/me/dir/file). Added a flag to |
| 408 | the swap file to indicate it is in the same directory as the edited file. The |
| 409 | used path then doesn't matter and the check for editing the same file is much |
| 410 | more reliable. |
| 411 | |
| 412 | Client-server communication now supports 'encoding'. When setting 'encoding' |
| 413 | in a Vim server to "utf-8", and using "vim --remote fname" in a console, |
| 414 | "fname" is converted from the console encoding to utf-8. Also allows Vims |
| 415 | with different 'encoding' settings to exchange messages. |
| 416 | |
Bram Moolenaar | 86b6835 | 2004-12-27 21:59:20 +0000 | [diff] [blame] | 417 | Internal: Changed ga_room into ga_maxlen, so that it doesn't need to be |
| 418 | incremented/decremented each time. |
| 419 | |
Bram Moolenaar | 2079a60 | 2005-01-04 21:43:22 +0000 | [diff] [blame] | 420 | Included a few improvements for Motif from Marcin Dalecki. Draw label |
Bram Moolenaar | 567e4de | 2004-12-31 21:01:02 +0000 | [diff] [blame] | 421 | contents ourselves to make them handle fonts in a way configurable by Vim and |
| 422 | a bit less dependent on the X11 font management. |
| 423 | |
Bram Moolenaar | 49cd957 | 2005-01-03 21:06:01 +0000 | [diff] [blame] | 424 | When a register is empty it is not stored in the viminfo file. |
| 425 | |
Bram Moolenaar | 8c71145 | 2005-01-14 21:53:12 +0000 | [diff] [blame] | 426 | Removed the tcltags script, it's obsolete. |
| 427 | |
Bram Moolenaar | dcaf10e | 2005-01-21 11:55:25 +0000 | [diff] [blame] | 428 | ":redir @*>" and ":redir @+>" append to the clipboard. Better check for |
| 429 | invalid characters after the register name. |
| 430 | |
| 431 | ":let g:" lists global variables. |
| 432 | ":let b:" lists buffer-local variables. |
| 433 | ":let w:" lists window-local variables. |
| 434 | ":let v:" lists Vim variables. |
| 435 | |
Bram Moolenaar | d438e91 | 2005-01-31 19:21:46 +0000 | [diff] [blame] | 436 | The stridx() and strridx() functions take a third argument, where to start |
| 437 | searching. (Yegappan Lakshmanan) |
Bram Moolenaar | b71ec9f | 2005-01-25 22:22:02 +0000 | [diff] [blame] | 438 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 439 | ============================================================================== |
| 440 | COMPILE TIME CHANGES *compile-changes-7* |
| 441 | |
Bram Moolenaar | 2079a60 | 2005-01-04 21:43:22 +0000 | [diff] [blame] | 442 | Dropped the support for the BeOS and Amiga GUI. They were not maintained and |
| 443 | probably didn't work. If you want to work on this: get the Vim 6.x version |
| 444 | and merge it back in. |
| 445 | |
Bram Moolenaar | ab79bcb | 2004-07-18 21:34:53 +0000 | [diff] [blame] | 446 | Mac: "make" now creates the Vim.app directory and "make install" copies it to |
| 447 | its final destination. (Raf) |
| 448 | |
| 449 | Mac: Made it possible to compile with Motif, Athena or GTK without tricks and |
| 450 | still being able to use the MacRoman conversion. Added the os_mac_conv.c |
| 451 | file. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 452 | |
| 453 | ============================================================================== |
| 454 | BUG FIXES *bug-fixes-7* |
| 455 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 456 | When using PostScript printing on MS-DOS the default 'printexpr' used "lpr" |
| 457 | instead of "copy". When 'printdevice' was empty the copy command did not |
| 458 | work. Use "LPT1" then. |
| 459 | |
| 460 | The GTK font dialog uses a font size zero when the font name doesn't include a |
| 461 | size. Use a default size of 10. |
| 462 | |
| 463 | This example in the documentation didn't work: |
| 464 | :e `=foo . ".c" ` |
| 465 | Skip over the expression in `=expr` when looking for comments, |, % and #. |
| 466 | |
| 467 | When ":helpgrep" doesn't find anything there is no error message. |
| 468 | |
| 469 | "L" and "H" did not take closed folds into account. |
| 470 | |
| 471 | Win32: The "-P title" argument stopped at the first title that matched, even |
| 472 | when it doesn't support MDI. |
| 473 | |
| 474 | Mac GUI: CTRL-^ and CTRL-@ did not work. |
| 475 | |
| 476 | "2daw" on "word." at the end of a line didn't include the preceding white |
| 477 | space. |
| 478 | |
| 479 | Win32: Using FindExecutable() doesn't work to find a program. Use |
| 480 | SearchPath() instead. For executable() use $PATHEXT when the program searched |
| 481 | for doesn't have an extension. |
| 482 | |
| 483 | When 'virtualedit' is set, moving the cursor up after appending a character |
| 484 | may move it to a different column. Was caused by auto-formatting moving the |
| 485 | cursor and not putting it back where it was. |
| 486 | |
| 487 | When indent was added automatically and then moving the cursor, the indent was |
| 488 | not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used |
| 489 | to make it work the old way. |
| 490 | |
Bram Moolenaar | f4b8e57 | 2004-06-24 15:53:16 +0000 | [diff] [blame] | 491 | When opening a command-line window, 'textwidth' gets set to 78 by the Vim |
| 492 | filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken. |
| 493 | |
| 494 | After using cursor(line, col) moving up/down doesn't keep the same column. |
| 495 | |
| 496 | Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart |
| 497 | fields. (Walter Briscoe) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 498 | |
Bram Moolenaar | 843ee41 | 2004-06-30 16:16:41 +0000 | [diff] [blame] | 499 | On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De |
| 500 | Michele) |
| 501 | |
Bram Moolenaar | 325b7a2 | 2004-07-05 15:58:32 +0000 | [diff] [blame] | 502 | Printing with PostScript may keep the printer waiting for more. Append a |
| 503 | CTRL-D to the printer output. (Mike Williams) |
| 504 | |
Bram Moolenaar | 2df6dcc | 2004-07-12 15:53:54 +0000 | [diff] [blame] | 505 | When converting a string with a hex or octal number the leading '-' was |
| 506 | ignored. ":echo '-05' + 0" resulted in 5 instead of -5. |
| 507 | |
| 508 | Using "@:" to repeat a command line didn't work when it contains control |
| 509 | characters. |
| 510 | |
Bram Moolenaar | 21cf823 | 2004-07-16 20:18:37 +0000 | [diff] [blame] | 511 | When using file completion for a user command, it would not expand environment |
| 512 | variables like for a regular command with a file argument. |
| 513 | |
| 514 | 'cindent': When the argument of a #define looks like a C++ class the next line |
| 515 | is indented too much. |
| 516 | |
| 517 | When 'comments' includes multi-byte characters inserting the middle part and |
| 518 | alignment may go wrong. 'cindent' also suffers from this for right-aligned |
| 519 | items. |
| 520 | |
Bram Moolenaar | ab79bcb | 2004-07-18 21:34:53 +0000 | [diff] [blame] | 521 | The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use |
| 522 | "cn" or "tw" as intended. |
| 523 | |
Bram Moolenaar | 5eb86f9 | 2004-07-26 12:53:41 +0000 | [diff] [blame] | 524 | When 'bin' is set and 'eol' is not set then line2byte() added the line break |
| 525 | after the last line while it's not there. |
| 526 | |
| 527 | Using foldlevel() in a WinEnter autocommand may not work. Noticed when |
| 528 | resizing the GUI shell upon startup. |
| 529 | |
| 530 | Python: Using buffer.append(f.readlines()) didn't work. Allow appending a |
| 531 | string with a trailing newline. The newline is ignored. |
| 532 | |
Bram Moolenaar | 269ec65 | 2004-07-29 08:43:53 +0000 | [diff] [blame] | 533 | When using the ":saveas f2" command for buffer "f1", the Buffers menu would |
| 534 | contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre |
| 535 | and BufFilePost events for the alternate buffer that gets the old name. |
| 536 | |
Bram Moolenaar | d4755bb | 2004-09-02 19:12:26 +0000 | [diff] [blame] | 537 | strridx() did not work well when the needle is empty. (Ciaran McCreesh) |
| 538 | |
| 539 | GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives |
| 540 | just before it is invoked |
| 541 | |
| 542 | VMS: Occasionally CR characters were inserted in the file. Expansion of |
| 543 | environment variables was not correct. (Zoltan Arpadffy) |
| 544 | |
| 545 | UTF-8: When 'delcombine' is set "dw" only deleted the last combining character |
| 546 | from the first character of the word. |
| 547 | |
| 548 | When using ":sball" in an autocommand only the filetype in one buffer was |
| 549 | detected. Reset did_filetype in enter_buffer(). |
| 550 | |
| 551 | When using ":argdo" and the window already was at the first argument index, |
| 552 | but not actually editing it, the current buffer would be used instead. |
| 553 | |
Bram Moolenaar | 15d0a8c | 2004-09-06 17:44:46 +0000 | [diff] [blame] | 554 | When ":next dir/*" includes many matches, adding the names to the argument |
| 555 | list may take an awful lot of time and can't be interrupted. Allow |
| 556 | interrupting this. |
| 557 | |
| 558 | When editing a file that was already loaded in a buffer, modelines were not |
| 559 | used. Now window-local options in the modeline are set. Buffer-local options |
| 560 | and global options remain unmodified. |
| 561 | |
| 562 | Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the |
| 563 | command line with non-ASCII characters are not used correctly. Recode the |
| 564 | file names when 'encoding' is set, using the Unicode command line. |
| 565 | |
Bram Moolenaar | c0197e2 | 2004-09-13 20:26:32 +0000 | [diff] [blame] | 566 | Win32 console: When the default for 'encoding' ends up to be "latin1", the |
| 567 | default value of 'isprint' was wrong. |
| 568 | |
| 569 | When an error message is given while waiting for a character (e.g., when an |
| 570 | xterm reports the number of colors), the hit-enter prompt overwrote the last |
| 571 | line. Don't reset msg_didout in normal_cmd() for K_IGNORE. |
| 572 | |
Bram Moolenaar | 3fdfa4a | 2004-10-07 21:02:47 +0000 | [diff] [blame] | 573 | Mac GUI: Shift-Tab didn't work. |
| 574 | |
| 575 | When defining tooltip text, don't translate terminal codes, since it's not |
| 576 | going to be used like a command. |
| 577 | |
| 578 | GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a |
| 579 | GTK error. Invalid characters may appear when 'encoding' is changed. |
| 580 | |
| 581 | GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango. |
| 582 | |
| 583 | Win32: When 'encoding' is changed while starting up, use the Unicode command |
| 584 | line to convert the file arguments to 'encoding'. Both for the GUI and the |
| 585 | console version. |
| 586 | |
| 587 | Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because |
| 588 | there is no codepage for latin9. Do our own conversion from latin9 to UCS2. |
| 589 | |
Bram Moolenaar | 7b0294c | 2004-10-11 10:16:09 +0000 | [diff] [blame] | 590 | When two versions of GTK+ 2 are installed it was possible to use the header |
| 591 | files from one and the library from the other. Use GTK_LIBDIR to put the |
| 592 | directory for the library early in the link flags. |
| 593 | |
| 594 | With the GUI find/replace dialog a replace only worked if the pattern was |
| 595 | literal text. Now it works for any pattern. |
| 596 | |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 597 | When 'equalalways' is set and 'eadirection' is "hor", ":quit" would still |
| 598 | cause equalizing window heights in the vertical direction. |
| 599 | |
| 600 | When ":emenu" is used in a startup script the command was put in the typeahead |
| 601 | buffer, causing a prompt for the crypt key to be messed up. |
| 602 | |
| 603 | Mac OS/X: The default for 'isprint' included characters 128-160, causes |
| 604 | problems for Terminal.app. |
| 605 | |
| 606 | When a syntax item with "containedin" is used, it may match in the start or |
| 607 | end of a region with a matchgroup, while this doesn't happen for a "contains" |
| 608 | argument. |
| 609 | |
| 610 | When a transparent syntax items matches in another item where the highlighting |
| 611 | has already stopped (because of a he= argument), the highlighting would come |
| 612 | back. |
| 613 | |
| 614 | When cscope is used to set the quickfix error list, it didn't get set if there |
| 615 | was only one match. (Sergey Khorev) |
| 616 | |
| 617 | When 'confirm' is set and using ":bdel" in a modified buffer, then selecting |
| 618 | "cancel", would still give an error message. |
| 619 | |
| 620 | The PopUp menu items that started Visual mode didn't work when not in Normal |
| 621 | mode. Switching between selecting a word and a line was not possible. |
| 622 | |
| 623 | Win32: The keypad decimal point always resulted in a '.', while on some |
| 624 | keyboards it's a ','. Use MapVirtualKey(VK_DECIMAL, 2). |
| 625 | |
| 626 | Removed unused function DisplayCompStringOpaque() from gui_w32.c |
| 627 | |
| 628 | In Visual mode there is not always an indication whether the line break is |
| 629 | selected or not. Highlight the character after the line when the line break |
| 630 | is included, e.g., after "v$o". |
| 631 | |
| 632 | GTK: The <F10> key can't be mapped, it selects the menu. Disable that with a |
| 633 | GTK setting and do select the menu when <F10> isn't mapped. (David Necas) |
| 634 | |
| 635 | After "Y" '[ and '] were not at start/end of the yanked text. |
| 636 | |
| 637 | When a telnet connection is dropped Vim preserves files and exits. While |
| 638 | doing that a SIGHUP may arrive and disturbe us, thus ignore it. (Scott |
Bram Moolenaar | 46c9c73 | 2004-12-12 11:37:09 +0000 | [diff] [blame] | 639 | Anderson) Also postpone SIGHUP, SIGQUIT and SIGTERM until it's safe to |
| 640 | handle. Added handle_signal(). |
| 641 | |
| 642 | When using "set laststatus=2 cmdheight=2" in the .gvimrc you may only get one |
| 643 | line for the cmdline. (Christian Robinson) Invoke command_height() after the |
| 644 | GUI has started up. |
Bram Moolenaar | 293ee4d | 2004-12-09 21:34:53 +0000 | [diff] [blame] | 645 | |
Bram Moolenaar | 1cd871b | 2004-12-19 22:46:22 +0000 | [diff] [blame] | 646 | When completing a file name on the command line backslashes are required for |
| 647 | white space. Was only done for a space, not for a Tab. |
| 648 | |
| 649 | When configure could not find a terminal library, compiling continued for a |
| 650 | long time before reporting the problem. Added a configure check for tgetent() |
| 651 | being found in a library. |
| 652 | |
| 653 | When the cursor is on the first char of the last line a ":g/pat/s///" command |
| 654 | may cause the cursor to be displayed below the text. |
| 655 | |
| 656 | Win32: Editing a file with non-ASCII characters doesn't work when 'encoding' |
| 657 | is "utf-8". use _wfullpath() instead of _fullpath(). (Yu-sung Moon) |
| 658 | |
| 659 | When recovering the 'fileformat' and 'fileencoding' were taken from the |
| 660 | original file instead of from the swapfile. When the file didn't exist, was |
| 661 | empty or the option was changed (e.g., with ":e ++fenc=cp123 file") it could |
| 662 | be wrong. Now store 'fileformat' and 'fileencoding' in the swapfile and use |
| 663 | the values when recovering. |
| 664 | |
| 665 | ":bufdo g/something/p" overwrites each last printed text line with the file |
| 666 | message for the next buffer. Temporarily clear 'shortmess' to avoid that. |
| 667 | |
Bram Moolenaar | b5bf5b8 | 2004-12-24 14:35:23 +0000 | [diff] [blame] | 668 | Win32: Cannot edit a file starting with # with --remote. Do escape % and # |
| 669 | when building the ":drop" command. |
| 670 | |
Bram Moolenaar | 86b6835 | 2004-12-27 21:59:20 +0000 | [diff] [blame] | 671 | A comment or | just after a expresion-backtick argument was not recognized. |
| 672 | E.g. in :e `="foo"`"comment. |
| 673 | |
Bram Moolenaar | 567e4de | 2004-12-31 21:01:02 +0000 | [diff] [blame] | 674 | "(" does not stop at an empty sentence (single dot and white space) while ")" |
| 675 | does. Also breaks "das" on that dot. |
| 676 | |
| 677 | When doing "yy" with the cursor on a TAB the ruler could be wrong and "k" |
| 678 | moved the cursor to another column. |
| 679 | |
| 680 | When 'commentstring' is '"%s' and there is a double quote in the line a double |
| 681 | quote before the fold marker isn't removed in the text displayed for a closed |
| 682 | fold. |
| 683 | |
| 684 | In Visual mode, when 'bin' and 'eol' set, g CTRL-G counted the last line |
| 685 | break, resulting in "selected 202 of 201 bytes". |
| 686 | |
Bram Moolenaar | 2079a60 | 2005-01-04 21:43:22 +0000 | [diff] [blame] | 687 | Motif: fonts were not used for dialog components. (Marcin Dalecki) |
Bram Moolenaar | 567e4de | 2004-12-31 21:01:02 +0000 | [diff] [blame] | 688 | |
Bram Moolenaar | 49cd957 | 2005-01-03 21:06:01 +0000 | [diff] [blame] | 689 | Motif: After using a toolbar button the keyboard focus would be on the toolbar |
Bram Moolenaar | 2079a60 | 2005-01-04 21:43:22 +0000 | [diff] [blame] | 690 | (Lesstif problem). (Marcin Dalecki) |
Bram Moolenaar | 49cd957 | 2005-01-03 21:06:01 +0000 | [diff] [blame] | 691 | |
Bram Moolenaar | 1c2fda2 | 2005-01-02 11:43:19 +0000 | [diff] [blame] | 692 | When using "y<C-V>`x" where mark x is in the first column, the last line was |
| 693 | not included. |
| 694 | |
| 695 | Not all test scripts work properly on MS-Windows when checked out from CVS. |
| 696 | Use a Vim command to fix all fileformats to dos before executing the tests. |
| 697 | |
| 698 | When using ":new" and the file fits in the window, lines could still be above |
| 699 | the window. Now remove empty lines instead of keeping the relative position. |
| 700 | |
Bram Moolenaar | 3d60ec2 | 2005-01-05 22:19:46 +0000 | [diff] [blame] | 701 | Cmdline completion didn't work after ":let var1 var<Tab>". |
| 702 | |
Bram Moolenaar | b7d6e72 | 2005-01-09 21:22:45 +0000 | [diff] [blame] | 703 | When using ":startinsert" or ":startreplace" when already in Insert mode |
| 704 | (possible when using CTRL-R =), pressing Esc would directly restart Insert |
| 705 | mode. (Peter Winters) |
| 706 | |
Bram Moolenaar | 31c67ef | 2005-01-11 21:34:41 +0000 | [diff] [blame] | 707 | "2daw" didn't work at end of file if the last word is a single character. |
| 708 | |
Bram Moolenaar | 8c71145 | 2005-01-14 21:53:12 +0000 | [diff] [blame] | 709 | Completion for ":next a'<Tab>" put a backslash before single quote, but it was |
| 710 | not removed when editing a file. Now halve backslashes in save_patterns(). |
Bram Moolenaar | 798c5a7 | 2005-01-16 22:06:30 +0000 | [diff] [blame] | 711 | Also fix expanding a file name with the shell that contains "\'". |
Bram Moolenaar | 8c71145 | 2005-01-14 21:53:12 +0000 | [diff] [blame] | 712 | |
Bram Moolenaar | b71ec9f | 2005-01-25 22:22:02 +0000 | [diff] [blame] | 713 | When doing "1,6d|put" only "fewer lines" was reported. Now a following "more |
| 714 | lines" overwrites the message. |
| 715 | |
| 716 | Configure could not handle "-Dfoo=long\ long" in the TCL config output. |
| 717 | |
Bram Moolenaar | b2956cd | 2005-01-27 14:42:53 +0000 | [diff] [blame] | 718 | When searching backwards, using a pattern that matches a newline and uses \zs |
| 719 | after that, didn't find a match. Could also get a hang or end up in the right |
| 720 | column in the wrong line. |
| 721 | |
Bram Moolenaar | d438e91 | 2005-01-31 19:21:46 +0000 | [diff] [blame] | 722 | When $LANG is "sl" for slovenian, the slovak menu was used, since "slovak" |
| 723 | starts with "sl". |
| 724 | |
| 725 | When 'paste' is set in the GUI the Paste toolbar button doesn't work. Clear |
| 726 | 'paste' when starting the GUI. |
| 727 | |
Bram Moolenaar | f583668 | 2005-02-02 23:09:45 +0000 | [diff] [blame] | 728 | A message about a wrong viminfo line included the trailing NL. |
| 729 | |
Bram Moolenaar | 2a8d1f8 | 2005-02-05 21:43:56 +0000 | [diff] [blame] | 730 | When 'paste' is set in the GUI the toolbar button doesn't work in Insert mode. |
| 731 | Use ":exe" in menu.vim to avoid duplicating the commands, instead of using a |
| 732 | mapping. |
| 733 | |
| 734 | Treat "mlterm" as an xterm-like terminal. (Seiichi Sato) |
| 735 | |
| 736 | ":z.4" and ":z=4" didn't work Vi compatible. |
| 737 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 738 | vim:tw=78:ts=8:ft=help:norl: |