1 *todo.txt* For Vim version 5.8. Last change: 2001 May 31
4 VIM REFERENCE MANUAL by Bram Moolenaar
7 TODO list for Vim *todo*
9 This is a veeeery long list of known bugs, current work, and desired
10 improvements. To make it a little bit accessible, the items are grouped by
11 subject. In the first column of the line a classification is used to be able
12 to look for "the next thing to do":
14 Priority classification:
26 Vim 5.8 is in the stable branch. No new features are added, only serious
27 problems will be fixed.
28 Vim 6.0 is the unstable branch. Many new features which need to be tested.
30 See |votes-for-changes| for a list of votes on desired changes in Vim.
31 See |develop.txt| for development plans.
34 -------------------- Known bugs and current work -----------------------
36 The DOS runtime archive doesn't fit on a floppy.
40 8 With undo/redo only marks in the changed lines should be changed. Other
41 marks should be kept. Vi keeps each mark at the same text, even when it
42 is deleted or restored. (Webb)
43 Also: A mark is lost after: make change, undo, redo and undo.
44 Example: "{d''" then "u" then "d''": deletes an extra line, because the ''
45 position is one line down. (Veselinovic)
46 8 When using ":s" to split a line, marks are moved to the next line. (Geddes)
47 8 When using ":n" ":rew", the prev. context mark is in the same place as the
48 cursor, not on the first line.
49 8 "zt" should scroll one screen forward and put the cursor in the first
51 8 ":z#" should list lines with line numbers. (Bob Farmer)
52 8 text is put in register 1 when using "c" and "d" with a motion character:
53 <control-A> % ( ) `<character> / ? N n { }
55 8 When stdin is not a tty, and Vim reads commands from it, an error should
57 8 Unix Vim (not gvim): Typing CTRL-C in Ex mode should finish the line
58 (currently you can continue typing, but it's truncated later anyway).
59 8 When loading a file in the .exrc, Vi loads the argument anyway. Vim skips
60 loading the argument if there is a file already. When no file argument
61 given, Vi starts with an empty buffer, Vim keeps the loaded file. (Bearded)
62 8 In Insert mode, when using <BS> or <Del>, don't wipe out the text, but
63 only move back the cursor. Behaves like '$' in 'cpoptions'. Use a flag
64 in 'cpoptions' to switch this on/off.
65 8 When editing a file which is a symbolic link, Vim opens another symbolic
66 link on the same file under the name of the first one. Adjust the file
67 name in the buffer to the last one used? Use several file names in one
69 7 The ":map" command output overwrites the command. Perhaps it should keep
70 the ":map" when it's used without arguments?
71 7 When interrupting reading a file, Vi considers the buffer modified. Add a
72 'cpoptions' flag for this (we don't want it modified always to be able to
74 7 CTRL-L is not the end of a section? It is for Posix! Make it an option.
75 7 Implement 'prompt' option. Init to off when stdin is not a tty.
76 7 CTRL-T in Insert mode inserts 'shiftwidth' of spaces at the cursor. Add a
77 flag in 'cpoptions' for this.
78 7 Add a way to send an email for a crashed edit session. Create a file when
79 making changes (containing name of the swap file), delete it when writing
80 the file. Supply a program that can check for crashed sessions (either
81 all, for a system startup, or for one user, for in a .login file).
82 7 Vi doesn't do autoindenting when input is not from a tty (in Ex mode).
83 7 "z3<CR>" should still use the whole window, but only redisplay 3 lines.
84 7 ":tag xx" should move the cursor to the first non-blank. Or should it go
85 to the match with the tag? Option?
86 7 Implement 'autoprint'/'ap' option.
87 7 Add flag in 'cpoptions' that makes <BS> after a count work like <Del>
89 7 Add flag in 'cpoptions' that makes operator (yank, filter) not move the
90 cursor, at least when canceled. (default vi compatible).
91 7 Make "5dd" on last-but-one-line not delete anything (Vi compatible).
92 Add flag in 'cpoptions' for this. When not present, "2dd" in the last
93 line should delete the last line.
94 7 This Vi-trick doesn't work: "Q" to go to Ex mode, then "g/pattern/visual".
95 In Vi you can edit in visual mode, and when doing "Q" you jump to the next
96 match. Nvi can do it too.
97 7 Support '\' for line continuation in Ex mode for these commands: (Luebking)
98 g/./a\ g/pattern1/ s/pattern2/rep1\\
102 6 ":e /tmp/$tty" doesn't work. ":e $uid" does. Is $tty not set because of
103 the way the shell is started?
104 6 After ":cd", meaning of file names for existing buffers changes. Do we
106 6 Vi compatibility (optional): make "ia<CR><ESC>10." do the same strange
107 thing. (only repeat insert for the first line).
111 9 When logging out from KDE, vim is not told to save its files. Catching
112 the WM_SAVE_YOURSELF event doesn't work.
113 8 For some fonts characters are drawn in the line above. Include fix
114 ~/vim/patches/dalecki-5.6 . (Marcin Dalecki)
115 9 When selecting a font from the font selector with an embedded space it
116 cannot be found. (Tsirkin)
117 8 When a font is not fixed width, the message "not fixed-width" disappears
118 immediately. (Tsirkin)
119 8 Move gtk_main_quit() calls from call to add_to_input_buf() to inside the
121 9 GTK GUI: Include changes in gtklayout.c since GTK 1.1.6 in gui_gtk_f.c?
123 9 Can't paste a Visual selection from GTK-gvim to vim in xterm when it is
124 longer than 4000 characters. Works OK from gvim to gvim and vim to vim.
125 This is a GTK problem.
126 9 With some fonts the characters can be taller than ascent + descent. E.g.,
127 "-misc-fixed-*-*-*-*-18-*-*-*-*-*-iso10646-1". Add one to the character
128 cell height? (Dalecki)
129 9 With the guifont "-*-clean-medium-r-*-*-8-*-*-*-*-80-*" bold characters
130 are drawn wrong. Try on C source code. The bold font is wider than the
131 medium font. Check bold font cellsize and use bold font trick if it's
133 8 When using "gvim -geom 40x30" or setting 'columns' in .gvimrc or with a
134 GUIEnter autocommand, the width is still set to fit the toolbar. Also
135 happens when changing the font. How to avoid that the toolbar specifies
136 the minimal window width?
137 8 Implement "no" value for 'winaltkeys': don't use Alt-Key as a menu
138 shortcut, when 'wak' changed after creating the menus.
139 8 Dialogs sometimes appear a bit far away. Apply a patch from Brent Verner
140 to position the dialogs on top of the gvim window (Jul 1999)? Check that
141 it still works for focus-follows-mouse.
142 8 When "cm" termcap entry is missing, starting gvim shouldn't complain about
143 it. (Lohner) Try out with "vt100" entry (cm replaced with cX).
146 Win32 GUI known bugs:
147 9 Clipboard doesn't always work as it should:
148 - Selecting text while editing a command-line has an implied copy to the
149 clipboard. Remove this, and add a command character to copy/cut/delete
150 the selected text (used in the popup menu).
151 - When selecting at the more-prompt or hit-return-prompt right mouse
152 button doesn't give popup menu. Also has an implied copy to the
153 clipboard. Use the popup menu "Copy" entry for that.
154 9 When there are more than 32767 lines, the scrollbar has a roundoff error.
155 Clicking the up or down error scrolls two lines or more. Looks like there
156 is an extra event that reports the new position of the scrollbar.
157 8 Make new version of VisVim.dll which includes the patch from Cordell.
158 8 When 'grepprg' doesn't execute, the error only flashes by, the
159 user can hardly see what is wrong. (Moore)
160 Could use vimrun with an "-nowait" argument to only wait when an error
161 occurs, but "command.com" doesn't return an error code.
162 8 When the 'shell' cannot be executed, should give an appropriate error msg.
163 8 MessageBox used for error messages can be too big. There is no way to
164 scroll it, or even hit the OK button (but you can hit return).
165 7 Add an option to disable adding a pixel row for bold and italic fonts?
166 Same option as for multi-byte (patch from Nam)?
167 Add another option to add one to the character width? Lucida Console
168 italic is wider than the normal font ("d" overlaps with next char).
169 7 At the hit-return prompt scrolling now no longer works. Need to use the
170 keyboard to get around this. Pretend <CR> was hit when the users tries to
172 7 'mousefocus' is disabled until the next mouse click, when trying to exit
173 by hitting the X in the title bar. (Webb)
174 7 Scrollbar width doesn't change when selecting other windows appearance.
175 Also background color of Toolbar and rectangle below vert. scrollbar.
176 7 "!start /min cmd" should run in a minimized window, instead of using
177 "/min" as the command name. (Rogall)
178 6 Drawing text transparantly doesn't seem to work (when drawing part cursor).
179 8 CTRL key doesn't always work in combination with ALT key. It does work
180 for function keys, not for alphabetic characters.
181 8 CTRL-@ doesn't work. Don't even get a message for it?
182 8 CTRL-- doesn't work for AZERTY, because it's CTRL-[ for QWERTY. How do we
183 know which keyboard is being used?
184 8 When using ":se guifont=Courier_New" bold chars leave pixels behind, in
185 front of a character, after a TAB. (McRae)
186 7 When scrolling, and a background color is dithered, the dither pattern
187 doesn't always join correctly between the scolled area and the new drawn
189 7 File/Print uses notepad, which puts the name of the temp file on top of
190 each page. How do we get the actual file name there?
191 Alternative: use prfile32 (Aaron)
192 8 install.exe and vimrun.exe are not build from Gvim_vc.mak. When
193 added, check that this works from the command line and from the IDE.
194 8 ":r !mycommand" doesn't pass the environment to the external command.
195 8 When dropping a shortcut on gvim (.lnk file) should edit the target, not
197 8 Tear-off menu causes a crash when it contains many items (>100).
198 (Pedro Gomes) Probably because DLG_ALLOC_SIZE is a fixed number.
202 9 Use one of the Syntax menu items. Then ":aunmenu Syntax", Vim crashes.
203 Also crashes when using Buffers.Refresh.
204 9 When using ":unmenu" in menu item, the reversing of menu items is wrong.
205 Happens with Syntax/manual. Problem with not removing the reversed text
206 when destroying the menu item? For Rochholz Vim crashes.
207 9 Because destroying a menu can cause a crash, it is not destroyed but
208 unmanaged. The destoyed Widgets are remembered, this list is never
210 9 When closing the confirm() dialog, Vim exits.
211 9 Menu ordering doesn't work.
212 9 When using "menu a.b.c.d lll", the "b" submenu does not disappear.
213 8 When "j" or "k" repeated quickly, display is messed up (Lauther).
214 8 Has extra stripes here and there. (Zeitlin).
215 When dragging last status line with the mouse, small black lines appear in
216 the command line pseudo-scrollbar (only when status line moved quickly).
217 7 The file selector is not resizable. With a big font it is difficult to
218 read long file names. (Schroeder)
222 9 When starting GUI with ":gui" while 'writedel' is non-zero, escape
223 sequences are split up. Motif version crashes.
224 9 Motif 1.2: Adding many menu items, making two rows, still doesn't work
226 8 Implement ":tearoff".
227 9 When using the right mouse button, for some people gvim freezes for a
228 couple of seconds. This doesn't happen when there is no Popup menu.
230 8 Popup menu ordering is wrong.
231 8 Dialog: Pointer should be moved to the default button. Accelerators don't
233 8 Lesstif 0.89.4: Tearing-off a menu sometimes gives a "Restoring focus to
234 NULL widget!" error. Probably a Lesstif problem.
235 8 Lesstif: When deleting a menu that's torn off, the torn off menu becomes
236 very small instead of disappearing. When closing it, Vim crashes.
241 9 When using a very small font, 'columns' can be very big. Either handle a
242 large value everywhere, or set a maximum MAX_COLUMNS.
243 9 On Solaris, creating the popup menu causes the right mouse button no
244 longer to work for extending the selection. (Halevy)
245 9 When running an external program, it can't always be killed with CTRL-C.
246 e.g. on Solaris 5.5, when using "K" (Keech). Other 'guipty' problems on
247 Solaris 2.6. (Marley)
248 9 On Solaris: Using a "-geometry" argument, bigger than the window where Vim
249 is started from, causes empty lines below the cmdline. (raf)
250 8 X11 GUI: When menu is disabled by excluding 'm' from 'guioptions', ALT key
251 should not be used to trigger a menu (like the Win32 version).
252 8 Basic flaw in the GUI code: NextScreen is updated before calling
253 gui_write(), but the GUI code relies on NextScreen to represent the state
254 of where it is processing the output.
255 Need better separation of Vim core and GUI code.
256 8 When fontset support is enabled, setting 'guifont' to a single font
258 8 Menu priority for sub-menus for: Athena, Amiga, Mac, VMS, BeOS.
259 8 Commands to enable/disable menu entries. Patch in HierAssist. (Shah)
260 8 Add menu separators for Athena, Amiga, Mac, RISCOS.
261 8 Add way to specify the file filter for the browse dialog. At least for
263 8 Add dialog for search/replace to other GUIs? Tk has something for this,
264 use that code? Or use console dialog.
265 8 gui_check_colors() is not called at the right moment. Do it much later,
267 8 gui_update_cursor() is called for a cursor shape change, even when there
268 are mappings to be processed. Only do something when going to wait for
269 input. Or maybe every 100 ms?
270 8 X11: When the window size is reduced to fit on screen, there are blank
271 lines below the text and bottom scrollbar. "gvim -geometry 80x78+0+0".
272 When the "+0+0" is omitted it works.
273 8 When the character cell of some fonts is different (ascent/descent), the
274 cursor leaves an underline behind (Hiebert).
275 8 When starting an external command, and 'guipty' set, BS and DEL are mixed
276 up. Set erase character somehow?
277 8 A dead circumflex followed by a space should give the '^' character
278 (Rommel). Look how xterm does this.
279 Also: Bednar has some code for dead key handling.
280 Also: Nedit 5.0.2 with USE_XMIM does it right. (Gaya)
281 8 The compose key doesn't work properly (Cepas). Both for Win32 and X11.
282 7 The compiled-in highlight defaults allocate colors, which will never be
283 freed. Move them to a startup script? Only use bold and underline for
284 the compiled-in defaults.
285 7 The cursor in an inactive window should be hollow. Currently it's not
287 8 With wrapping lines, clicking below the scrollbar thumb moves more than a
288 screenfull of lines. Adjust the thumb size when lines wrap.
289 7 GUI on Solaris 2.5.1, using /usr/dt/..: When gvim starts, cursor is
290 hollow, after window lowered/raised it's OK. (Godfrey)
291 7 When starting GUI with ":gui", and window is made smaller because it
292 doesn't fit on the screen, there is an extra redraw.
293 8 When setting font with .Xdefaults, there is an extra empty line at the
294 bottom, which disappears when using ":set guifont=<Tab>". (Chadzelek)
295 8 When font shape changes, but not the size, doing ":set font=" does not
296 redraw the screen with the new font. Also for Win32.
297 When the size changes, on Solaris 2.5 there isn't a redraw for the
298 remaining part of the window (Phillipps).
299 - Flashes really badly in certain cases when running remotely from a Sun.
303 9 DOS: Make CTRL-Fx and ALT-Fx work.
304 CTRL-F1 = CE-5E, CTRL-F2 = CE-5F, .., CTRL-F10 = CE-67
305 ALT-F1 = CE-68, ALT-F2 = CE-69, .., ALT-F10 = CE-71
306 Shifted cursor keys produce same codes as unshifted keys. Use bioskey(2)
307 to get modifier mask for <S-C-M-Fx>.
308 Use CSI codes to insert modifier mask in input stream? Make this work
309 like in the GUI, but do handle a typed CSI.
310 Mapping things like <M-A> doesn't work, because it generates an extended
311 key code. Use a translation table?
312 9 Can't read an opened swap file when the "share" command has not been used.
313 At least ignore the swap files that Vim has opened itself.
314 8 Vim busy waits for new characters or mouse clicks. Should put in some
315 sort of sleep, to avoid eating 50% of the CPU time. Test on an unpatched
317 8 DJGPP: when shell is bash, make fails. (Donahoe)
318 8 DJGPP: ":mode" doesn't work for many modes. Fix "fast" text output
320 7 Hitting CTRL-P twice quickly (e.g. in keyword completion) on a 8088
321 machine, starts printer echo! (John Mullin).
322 7 MSDOS 16 bit version can't work with COMSPEC that has an argument, e.g.:
323 COMSPEC=C:\WINDOWS\COMMAND.COM /E:4096 (Bradley)
324 Caused by BCC system() function (Borland "make" has the same problem).
325 8 Makefile.bor can't compile xxd without editing the makefiles.
326 Create a Makefile.bor for xxd.
327 8 Check if with DJGPP 2.01 the problem of a path starting with a backslash is
329 8 Mouse: handle left&right button pressed as middle button pressed. Add
330 modifier keys shift, ctrl and alt.
331 7 When too many files are open (depends on FILES), strange things happen.
332 The Dos16 version runs out of memory, in the Dos32 version "!ls" causes a
333 crash. Another symptom: .swp files are not deleted, existing files are
335 7 DJGPP version doesn't work with graphics display mode. Either disallow
336 them or switch to system functions.
339 MSDOS, OS/2 and Win32:
340 8 OS/2: Add backtick expansion. Undefine NO_EXPANDPATH and use
341 gen_expand_wildcards().
342 8 Win32 console: <M-Up> and <M-Down> don't work. (Geddes) We don't have
343 special keys for these. Should use modifier + key.
344 8 Environment variables in DOS are not case sensitive. Make a define for
345 STRCMP_ENV(), and use it when comparing environment var names.
346 8 Setting 'shellslash' has no immediate effect. Change all file names when
347 it is set/reset? Or only use it when actually executing a shell command?
348 8 When editing a file on a Samba server, case might matter. ":e file"
349 followed by ":e FILE" will edit "file" again, even though "FILE" might be
350 another one. Set last used name in buflist_new()? Fix do_ecmd(), etc.
354 8 Editing a file by it's short file name and writing it, makes the long file
355 name disappear. Use Unix method for making a backup file? Better: make
356 the way the backup file is made (copy or rename) an option, not a #define
357 (also needed for OS/2, the icon goes to the backup file).
358 Use FindFirstFile()->cAlternateFileName in fname_case() (George).
359 8 Doing wildcard expansion, will match the short filename, but result in the
360 long filename (both DJGPP and Win32).
364 9 When editing a file by its short file name, it should be expanded into its
365 long file name, to avoid proplems like these: (Mccollister)
366 1) Create a file called ".bashrc" using some other editor.
367 2) Drag that file onto a shortcut or the actual executable.
368 3) Note that the file name is something like BASHRC~1
369 4) Go to File->Save As menu item and type ".bashrc" as the file name.
370 5) Press "Yes" to indicate that I want to overwrite the file.
371 6) Note that the message "File exists (use ! to override)" is displayed
372 and the file is not saved.
373 Use FindFirstFile() to expand a file name and directory in the path to its
375 8 Add an option (command line?) not to switch console buffers. Required for
376 telnetd (Ford). Change termcap_mode_start() and termcap_mode_end().
377 Test with ataman telnet daemon or Anzio Lite.
378 Use 'conskey' and/or 'bioskey' options for this?
379 Alternative: Use BIOS screen output like in os_msdos.c.
380 8 Also implement 'conskey' option for the Win32 console version? Look at
381 how Xvi does console I/O under Windows NT.
382 7 Re-install the use of $TERM and support the use of different terminals,
384 8 Use of <altgr> modifer doesn't work? 5.3 was OK. (Garcia-Suarez/Guckes)
385 9 Mapping <C-S-Tab> doesn't work correctly.
386 9 tmpnam() uses file in root of file system: "\asdf". That doesn't work on
387 a Netware network drive. Use same function as for Win32 GUI?
388 8 When exiting, sends ^M^M^J to the console in raw mode (Webb).
389 8 In os_win32.h, HAVE_STRICMP and HAVE_STRNICMP are defined only if __GNUC__
390 is not defined. Shouldn't that be the other way around?
391 9 When using libcall() for a function that returns an invalid pointer, Vim
392 crashes. Check for a bad pointer with isBadReadPtr(). (Zeitlin)
393 Doesn't appear to work really, at least check for "1".
397 9 In mch_expandpath() a "*" is to be expanded, but "\*" isn't. Remove
398 backslashes in result.
399 8 Executing a shell, only one option for 'shell' is separated. Should do
400 all options, using white space separation.
404 9 When DiskLock is running, using a swap file causes a crash. Appears to be
405 a problem with writing a file that starts with a dot. (Giacalone)
406 9 On G3 Mac, OS version 8, control strip causes characters messed up when
407 scrolling (CTRL-L cleans it up). (Benji Fisher)
408 9 On G3 Mac, OS version 8, variable-speed scrolling doesn't work, after two
409 seconds of scrolling the screen freezes. (Benji Fisher)
410 scrolling (CTRL-L cleans it up). (Benji Fisher)
411 9 In mac_expandpath() check that handling of backslashes is done properly.
412 9 Executable is called "vimPPC" instead of "gvim"? (Amerige)
413 8 Standard Mac buttons and shortcuts are missing. No close button.
415 8 An invocation of gvim hands over control to an existing gvim. (Amerige)
416 8 Handling of non-fixed width fonts is wrong. (Amerige)
417 8 StatusLine and StatusLineNC highlighting isn't right. (Amerige)
421 9 Make a runtime archive for VMS.
422 8 VMS: Inserts <NL> every 8291 bytes when writing. (Howie) 4.5 didn't have
423 this problem. It's caused by the write() function, need to write() every
424 line separately. It seems read() also returns a single line. Switch I/O
425 to binary mode somehow?
426 7 Lots of code in common with os_unix.c, but many fixes are missing. For
427 example, usage of t_ts and t_fs.
431 9 When jumping to a tag, the search pattern is put in the history. When
432 'magic' is on, the pattern may not work. Translate the pattern depending
433 on p_magic when putting it in the history? Alternative: Store value of
434 'magic' in history. (Margo)
435 9 Viminfo file becomes corrupt when editing a file with a <NL> in the name.
436 (file marks, buffer list, history of marks) (Alexander N.Benner, Wichert
437 Akkerman, Weisselberg)
438 Also problems with buffer menu.
439 9 optwin.vim: Restoring a mapping for <Space> or <CR> is not correct for
440 ":noremap". Add "mapcmd({string}, {mode})? Use code from ":mkexrc".
441 8 When some features are disabled, the related commands cannot check for a
442 following command: ":syntax", ":[id]jump", ":[id]search", "[id]list" and
443 "[id]split". Add special function to check for a trailing argument when
444 the feature is not included.
445 9 When starting gvim in an xterm, Vim sends t_vi and t_ve to the terminal
446 (cursor invisible/visible). Should not happen.
447 9 incsearch is incorrect for "/that/<Return>/this/;//" (last search pattern
449 9 term_console is used before it is set (msdos, Amiga).
450 9 Get out-of-memory for ":g/^/,$s//@/" on 1000 lines, this is not handled
451 correctly. Get many error messages while redrawing the screen, which
452 cause another redraw, etc.
453 9 When a library is added twice, it will add to the size of Vim. E.g. for
454 "-lXt". Remove the first one?
455 9 When first editing file "test", which is symlink to "test2", and then
456 editing "test2", you end up editing buffer "test" again. Change the name
457 of the buffer to the actual file, instead of using the name of the
459 8 [<C-I> doesn't work when '*' is in 'iskeyword'. find_pattern_in_path()
460 must escape special characters in the pattern.
461 8 Vim can overwrite a read-only file. ":w" can't overwrite an existing
462 file, "w!" can, but perhaps not a read-only file? Then use ":w!!" for
464 Or ask for permission to overwrite it (if file can be made writable) and
465 restore file to readonly afterwards.
466 8 Buffers menu, when torn-off, disappears when being refreshed.
467 8 Is calling msg_start() in main() really needed? Any printed message
468 should include it already.
469 8 When in Insert mode with 'scrolloff' set, inserting text at the end of the
470 file, "!" lines will stay there while they could be used. (Park)
471 8 When writing an encryption file the extra 12 bytes are not reported, but
472 when reading they are. Be consistent! (Colombo)
473 8 Unix in an xterm: Select something on the cmdline; go back to text; now
474 <S-MiddleMouse> pastes the selection, but <MiddleMouse> doesn't. Xterm
475 first tries getting the primary selection, and if that doesn't work it
477 8 When owning the PRIMARY selection, also get the CLIPBOARD selection.
478 (Neil Bird) Use the "+ register to access the clipboard? (Bird)
479 Use "unnamed", "clipboard" and "autoselect" in the 'clipboard' option.
480 (Wall) Also copy text to CUT_BUFFER0, but don't do it too often (can be
481 slow when there is a lot of text). Or just recommend xcb?
482 8 When compiled with "xterm_clipboard", startup can be slower and might get
483 error message for invalid $DISPLAY. Use an option to disable connecting
484 to the X server, so that Vim doesn't have to be recompiled for this?
485 Better: Try connecting to the X server in the background (forked), so that
486 Vim starts up quicker.
487 8 For xterm need to open a connection to the X server to get the window
488 title, which can be slow. Can also get the title with "<Esc>[21t", no
489 need to use X11 calls. This returns "<Esc>]l{title}<Esc>\".
490 8 "fg" and "bg" don't work in an xterm. Get default colors from xterm with
491 an ESC sequence. See ~/vim/patches/vikas.xtermcolors .
492 8 Add term entries for function keys on xterm with alt and ctrl (new in pl
493 94). E.g., Control adds ";5" in "<Esc>[20;5~". Find a generic way to
494 prepend a modifier in console mode, to avoid having to specify each
495 individual modified key.
496 8 When the builtin xterm termcap contains codes that are not wanted, need a
497 way to avoid using the builtin termcap.
498 8 '[ and '] should be set to start/end of line when using a linewise operator
500 8 CTRL-A can't handle big "long" numbers, they become negative. Check for
501 "-" character, if not present, use unsigned long.
502 8 Make it possible to disable the special meaning of "#" in the first column
504 8 When doing ":qa", and there is a change in a buffer that is being edited
505 in another window, the current window will also be editing the buffer with
506 the change. Should jump to the window with the changed buffer.
507 8 Should replace "screen_Columns" with "Columns", and use "new_Columns" for
508 the value to be used for Columns. Same for "Rows". Helps when using a
510 8 Add suspending with CTRL-Z at the "more" prompt, and when executing a long
511 script in do_cmdline().
512 8 When using 'hidden', many swap files will be open. When Vim runs into the
513 maximum number of open files, error messages will appear. Detect that
514 this problem is present, and close any hidden files that don't have
516 8 With 'viminfo' set such that the ".viminfo" file is written on a FAT
517 filesystem, an illegal file name may be created: ".vim".
518 8 For each buffer that is opened, the viminfo file is opened and read to
519 check for file marks. This can be slow.
520 7 "dd" on the last line of the file, causes the last but one line to be
521 redrawn. Should not be necessary.
522 7 Using "gqj" near the last line of the window, makes the window scroll up,
523 even though this isn't necessary.
524 - These mappings don't work with the Win32 versions: (Bradley)
525 nmap ,p {<Right>V}<Left>
528 Looks like the nmap is used instead of the vmap.
529 8 Should be able to compile Vim in another directory, with $(srcdir) set to
530 where the sources are. Add $(srcdir) in the Makefile in a lot of places.
532 8 Perl adds arguments to the compiler. Check that compiling a program still
533 works after that, otherwise following configure checks will fail.
534 7 In xterm, recognize both vt100 and vt220 cursor keys. Change
535 add_termcode() to not remove an existing entry for a name, when it's
537 Recognize <C-Left> and <C-Right> in new xterm.
538 Need a generic solution to recognize different codes for the same key.
539 8 Core dump within signal function: gdb doesn't show stack backtrace! Option
540 to skip catch_signals()?
541 8 Pasting with the mouse in Replace mode inserts the text, instead of
542 overwriting, when it is more than one line. Same for using <C-R>.
543 7 When using search history, the trailing '/' or '?' needs to be changed
544 depending on the search command. When there was no '/' or '?', add one, so
545 flags can be added easily?
546 7 CTRL-F at the end of the file, when 'so' is set, redraws twice. When the
547 window is small (< 2 * 'so') it behaves differently.
548 9 CTRL-E and CTRL-Y don't work in small window when 'so' is 4 and lines are
549 wrapping (Acevedo/in.226). E.g., when using CTRL-E, window height 7,
550 window might actually scroll down when last line of buffer is displayed.
551 --> Remember if the previous command was "cursor follows screen" or
552 "screen follow cursor" and use this in cursupdate().
553 9 Text is scrolled up and down: (acevedo)
554 - set scrolloff to something >1 (i always use "set so=4")
555 - set the win. hegiht to scrolloff + 1 (i'd do ^W5_)
556 - load a file with scrolloff + 2 lines
557 - put the cursor in line scrolloff +1 (5G)
558 - if you move the cursor along the line (h, l, insert text, etc)
559 the text is crolled with each keystroke (once up, once down,...)
560 sometimes with <Esc> the text is scrolled up and down without stop!!!!
561 7 tilde_replace() can only handle "~/", should also do "~user/".
562 Get the list of home directories (from /etc/passwd? Use getpwent()) and
563 use some clever algorithm to match a path with that. Find common strings
565 8 Add 'o' flag to 'mouse'?
566 8 When dragging status line with mouse, sometimes a jump when first clicking
567 on the status line (caused by 'winheight'). Select window on button up,
568 instead of on button down.
569 7 There are often a few <CR> on a row sent to the screen, should not be
571 8 When performing incremental search, should abort searching as soon as a
573 8 Make CTRL-C on Unix generate a signal, avoid using select() to check for a
574 CTRL-C (it's slow). Allow using CTRL-C for "*y, like in MS-Windows.
575 8 When writing viminfo file, handle CTRL-J in filename (needs to be escaped
576 with CTRL-V). (Acevedo)
577 8 When starting Vim, switch terminal to RAW mode asap, so typeahead is
578 handled correctly (without the need for a <CR>).
579 8 When the value of $MAKE contains a path, configure can't handle this.
580 It's an autoconf bug. Remove the path from $MAKE to work around it.
581 8 How to set VIMRC_FILE to \"something\" for configure? Why does this not
582 work: CFLAGS='-DVIMRC_FILE=\"/mydir/myfile\"' ./configure
583 8 The temporary file is sometimes not writable. Check for this, and use an
584 alternate name when it isn't. Or add the 'temptemplate' option: template
585 for the temp file name ":set temptemplate=/usr/tmp/?????.tmp".
586 Also: Win32 version uses Windows temp directory, which might not work for
588 7 Get error "*, \+ or \( operand could be empty" for pattern "\(.\)\1\{3}".
589 Don't check when compiling, check while matching?
590 7 When switching to Daylight Saving Time, Vim complains that a file has been
591 changed since last read. Can we use a function that uses GMT?
594 I can't reproduce these (if you can, let me know how!):
595 - With backupdir=~/tmp,/tmp nowritebackup nobackup patchmode=.smr and the
596 patchmode file exists, backup files in the tmp directory are left lying
597 around - they should be deleted! (Riehm)
598 9 Crash when changing fonts in Athena (Hiebert). gui_mch_set_scrollbar_pos
599 gets an "sb" argument that points to all zero entries...?
600 9 Crash in Motif GUI, when pasting text with middle mouse button while in
601 Insert mode. SunOS 4.1.3 only? (Janssen).
602 8 Motif: Tear-off menu item crashes Vim on some machines. (Netherton) It
603 works fine for me, maybe it's a Motif problem.
604 - On Diamond Viper 132x43 mode crash on exit (John Lange)
605 9 NT 4.0: Editing ".bashrc" (drag and drop), file disappears.
606 Editing ".xyz" is OK. (McCollister)
607 8 Win32 GUI: NT: When regaining focus at the more prompt, there is an extra
609 8 Win32 GUI: Writable File in read-only dir can be deleted but not written?
611 9 GUI: Between version 5.0h and 5.0i the Home and End keys stopped working
612 for Micheal Schulz (Linux and AIX).
613 9 Win32 console: <M-S-Left> causes a crash. (Geddes)
614 9 In MSDOS version(s): typing ESC three or four times crashes Vim, when
615 'visualbell' is set (Kielhorn).
618 [These have been reported for version 3.0, they may not appear in this version]
619 - MSDOS: After writing on a network the 'w' bit for others is set.
622 Problems that will (probably) not be solved:
623 - X windows: When $DISPLAY points to a X server where there is no access
624 permission, trying to connect to the X server causes an error message.
625 XtOpenDisplay() prints this directly, there is no way to avoid it.
626 - Win32: All files created on the day of switching from winter to summer
627 time cause "changed since editing started" messages. It goes away when
628 the file is written again the next day, or the timezone is adjusted.
629 DJGPP version is OK. (Zaimi) Looks like a problem with the Win32 library.
630 Rebooting doesn't help. Time stamps look OK in directory. (Penn)
631 - Moving the cursor removes color in color-xterm. This is a color-xterm
632 problem! color-xterm ver. 6.1 beta 3 and later work properly.
633 - The Dos32 version (DJGPP) can't use long file names on Windows NT.
634 - In zsh, "gvim&" changes the terminal settings. This is a zsh problem.
636 - Problem with HPterm under X: old contents of window is lost (Cosentino).
637 - Amiga: When using quickfix with the Manx compiler we only get the first 25
638 errors. How do we get the rest?
639 - Amiga: The ":cq" command does not always abort the Manx compiler. Why?
640 - Linux: A file with protection r--rw-rw- is seen readonly for others. The
641 access() function in GNU libc is probably wrong.
642 - MSDOS: When using smartdrive with write-back buffering, writing to a
643 readonly floppy will cause problems. How to test for a writable floppy
645 - MSDOS: Both 16 and 32 bit versions: File name expansion doesn't work for
646 names that start with a dot. These used to be illegal file names.
647 - When doing a CTRL-Z and typing a command for the shell, while Vim is busy
648 (e.g. writing a file), the command for the shell is sometimes eaten by Vim,
649 because the terminal mode is changed from RAW to CBREAK.
650 - An old version of GNU tgoto can't handle the terminfo code for "AF". The
651 "%p1" is interpreted as "%p" and "1", causing color not to be working.
652 Fix: Change the "%p1" in the "AF" and "AB" terminfo entries to "%p".
654 - When running an external command from the GUI, typeahead is going to that
655 program, not to Vim. It looks like the shell eats the characters, Vim
656 can't get back what the external command didn't use.
657 - Win32 GUI: Error code from external command not returned in shell_error.
658 It appears that cmd.exe and command.com don't return an error code.
659 - Win32 GUI: The Toolbar is a bit too high when the flat style is being
660 used. We don't have control over the height of the Toolbar.
661 - SunOS 5.5.1 with Motif: The file open dialog does not have a horizontal
662 scroll bar for the "files" selection. This is a problem in the Motif
663 libraries, get a patch from Sun.
664 - Solaris 2.6 with GTK and Perl: gvim crashes when started. Problem with X
665 input method called from GDK code. Without Perl it doesn't crash.
667 --------------------- extensions and improvements ----------------------
668 *extensions-improvements*
670 Considered for release 6.0:
672 7 Vertically splitting the screen. Show differences between files (sdiff).
673 Some way create a new file to merge differences. Examples: Ted
674 (moon.csie.ntu.edu.tw/pub/X/ted), Aurora (www.ntext.net)
675 7 Editing the command line with Normal mode Vi commands. See readline(3)
677 7 Support for editing a remote file through ftp or http (with a script).
678 7 Further support for editing files in projects (see ":idselect").
679 7 Patch to add 'autoload' option: Automatically reload buffers that were
680 changed outside of Vim ~/vim/patches/aaron.autoload . (Aaron)
681 Also handle the 'reaonly' flag of a file when it was changed outside of
683 9 Add "toolbar" feature, to be used in mswin.vim (it can be disabled at
685 9 Add "mswin" feature, for Win16 and Win32. Include gui_w16.c? (Negri)
686 8 Add option to disable the dialog for the ATTENTION prompt. In general:
687 Better control for protecting the user for editing a file twice, file
688 changed outside of Vim, file protection changed outside of Vim, etc.
689 8 Patch to use 'suffixes' for included files. ~/vim/patches/waghorn.suffixes
691 - Add patch from Wall for this one:
692 'flipcase' variable: upper/lower case pairs. (alternative: translate
693 command, e.g. ":tr \248-\254 \216-\222") (From Elvis, don't like it).
694 Insert comma's between pairs and allow a range, e.g. :set
696 8 Win32 GUI: Implement flag to avoid "hit any key to continue" in DOS
697 console used to execute external commands. Pass a flag to vimrun.exe.
698 8 Add cscope_connection() function ~/vim/patches/kahn.cscopeconn .
699 Also ~/vim/patches/kahn.5.4.cscope . (Kahn)
700 8 Make ":normal" command accept <Key> notation, like ":map".
701 8 Rename all version directories to vim54 instead of vim-5.4, also for the
703 8 GNOME support for GTK version ~/vim/patches/kahn.5.4.gnome .
704 8 Remove runtime/macros/html.
705 8 Adjust colortest.vim: Include colors on normal background (Szalai).
706 Reduce the size by using a while loop.
707 8 Use $install_prefix? (Cabric)
708 8 When color cannot be allocated, use nearest match. Useful when netscape
709 has eaten many colors. Check FindClostestColor in Tcl/Tk. (Shah)
710 8 Add the possibility for a maintainer of a binary version to include his
711 e-mail address. In the ":version" or ":intro" message?
712 8 ">>" with 'softtabstop' set should work like 'tabstop' is set to
713 'softtabstop'. (Zivkov) But what about when there is a string?
714 8 Rename vim-5.5x to vim55x for all distributions, also Unix. Easier to
715 type and no differences between systems.
716 8 Include patch to speedup display updating for DJGPP version. (Negri)
717 ~/Mail/oldmail/negri/in.00918 .
718 8 Make clipboard work for Dos32 version. (Negri)
719 8 Include Gnome support? ~/vim/patches/kahn.gnome.gz (Kahn)
720 8 Add ":bnew" command? ~/vim/patches/wall.bnew (Wall)
721 9 ":redir @*" should work: Redirect to the clipboard. Just allow using this
722 register and add a flag to write_reg_contents() to append.
723 ~/vim/patches/wall.redir (Wall)
724 8 ":redir >$HOME/xxx" should work: expand file name argument of ":redir".
728 9 Errors in doc to HTML conversion:
729 autocmd.txt "like \| in a |pattern|"
730 9 Change examples in docs: Instead of a ">" in front of every line, use " >"
731 once at end of line before the example and "<" after the last line (or a
732 not-indented line). Use the syntax cmd:
733 :syn region helpExample matchgroup=Ignore start=" >$"
734 \ end="^[^ \t]"me=e-1 end="^<"
735 Allows for copy/pasting the examples. Put ">" on a separate line when
737 9 In change.txt, remark about Javadoc isn't right. Right alignment would
739 8 Spread the windows commands over the other files. For example, ":stag"
740 should be with ":tag". cross-link with tags to avoid too much double
742 8 make vimtutor.bat for DOS and vimtutor script for Amiga. Then add
743 vimtutor.man to the runtime archive.
744 8 Add an example vimrc for using Vim as a modeless editor. Emulate an
745 existing editor (WordStar, Brief?).
746 7 Windows: When a wrong command is typed with an ALT key, give a hint to
747 look at the help for 'winaltkeys'.
748 - Check text editor compendium for vi and Vim remarks.
749 - Add some text for xxd.
753 8 When a help window is closed, delete the help buffer from the buffer list?
754 - First try using the ":help" argument literally, before using it as a
755 pattern. And then match it as part of a tag.
756 - Use GNU Texinfo for the help files somehow? Use Info format files?
757 At least the other way around: Use Vim to view (and edit) .info files.
758 - Default mapping for help files: <Tab> to position cursor on next |:tag|.
759 - When hitting <Esc> or CTRL-C in Normal mode, give a message to help novice
760 users to get out: "Type :q! to quit Vim".
761 - Implement a "sticky" help window, some help text lines that are always
762 displayed in a window with fixed height. (Guckes) Use "~/.vimhelp" file,
763 user can edit it to insert his favorite commands, new account can contain a
765 - When entering the help window, don't resize to 'helpheight' if the user has
766 reduced the size before (Webb). Keep the window height that the user set
767 the window to in a "preferred window height" entry for each window.
768 - ":help :s^I" should expand to ":help :substitute".
769 - Make the help key (<F1>) context sensitive?
770 - Learn mode: show short help while typing commands.
774 - Find a way to skip tests that can't be done. For non-Unix systems, but
775 also for e.g. the Perl interface.
779 8 Make it easier to add new or modified syntax files. Use a search path for
780 syntax files instead of synload?
781 8 Allow the user to add items to the Syntax menu sorted, without having to
782 change this for each release.
783 8 Add patch from Scott Bigham for back referencing.
784 ~/vim/patches/bigham.regexp3 .
785 8 Some syntax files set 'iskeyword'. When switching to another filetype
786 this isn't reset. Add "set isk&" to all syntax files?
787 8 Add specific syntax item to match with parens/braces that don't have a
788 match. :syntax nomatch cParenError "("
789 8 Add a command to jump to the next characterw highlighted with "Error".
790 8 Highlight the text between two matching parens (e.g., with a grey
791 background) when on one of the parens or in between them.
792 8 When using a cterm, and no ctermfg or ctermbg are defined, use start/stop
793 sequences. Add remark in docs that :if 'term' == "term-name" should be
795 8 Add @spell cluster to String and Comment groups for many languages. Will
796 allow spell checking. (Fleiner)
797 8 When listing syntax items, try to sort the keywords alphabetically. And
798 re-insert the [] if possible.
799 8 Make it possible to use color of text for Visual highlight group (like for
801 8 Make it possible to only highlight a sub-expression of a match. Like
802 using "\1" in a ":s" command.
803 8 Add a way of syncing where it always starts at the beginning of the file,
804 to find the group where redrawing starts. Useful for "#if 0" constructs
806 c.vim: Use advanced syncing to make long "#if 0" constructs work.
807 8 cpp.vim: In C++ it's allowed to use {} inside ().
808 8 Keep more context for syncing, but not for every line. Make this settable
809 with some command ":syn sync context=1000 skip=10" (store state for 1000
810 lines, every 10 lines).
811 Store the context with the window, instead of the buffer. Useful when
812 there are two windows on the same buffer.
813 OR: Use three options:
814 syntaxminsyncs: minimal number of sync points (for speedy small files)
815 syntaxmaxsyncs: maximum number of sync points (for very big files)
816 syntaxsyncdist: number of lines between two sync points (overruled by
817 the other two options).
818 8 Support for deleting syntax items:
819 :syn keyword cTodo remove this
820 :syn match cTodo remove "pattern"
821 :syn region cString remove start="this" end="that"
822 8 Make it possible for a skip pattern to include "$", so that it can skip
823 over newlines for a "oneline" region.
824 8 Make it possible to use "inverted" highlighting, invert the original
825 character. For Visual mode. (xterm-selection already does this).
826 8 Highlight non-printable characters with "SpecialChar", linked to
827 "Special". Display them with the digraph characters, if possible.
828 8 Highlight the clipboard-selection with a highlight group.
829 8 Be able to reset highlighting to its original (default) values.
830 7 Be able to write current highlighting to a file as commands, similar to
832 8 Reduce the number of regexp in c.vim (for speed).
833 8 Add check for unterminated strings in c.vim, with a variable to switch it
835 8 Add a flag to temporarily disable highlighting. Set it while dragging the
837 8 Add an option to restrict the updating of syntax highlighting to the
838 current line while in Insert mode.
839 8 When guessing value of 'background', the syntax file has already been
840 loaded (from the .gvimrc). After changing 'background', load it again?
841 8 Add ":syn resync" command, to re-parse the whole file until the current
843 8 Should support "me" offset for a region start pattern. To be used to
844 allow searching for the end pattern inside the match of the end pattern.
845 Example: syn region pikeXX start="([^{]" end=")" should work on "()".
846 8 When using a regexp for "contains=", should delay matching with it until
847 redrawing happens. Set a flag when a group is added, check this flag when
849 7 Add "semitrans": Add highlighting. E.g., make the text bold, but keep the
850 colors. And add colors, so that Green+Red becomes Yellow.
851 7 CTRL-] checks the highlight group for finding out what the tag is.
852 6 Not possible now: Two regions that add up. E.g. for this html:
853 <B> bold text <I> italic+bold text </B> italic text </I>
854 7 Not only change highlighting of text, also change what is displayed. Can
855 be used to hide tags, e.g.
856 :syn region boldstuff start="<B>" display="" end="</B>" display=""
857 7 Add an explanation how a list of words can be used to highlight misspelled
859 7 Should find a better way to parse the :syntax and :highlight commands.
860 Use tables or lists that can be shared by parsing for execution and
862 7 Add a few sets of colors (e.g. Borland Turbo C one). With a menu to
863 select one of the sets.
864 8 Add offsets to sub-matches: "\(a*\) *"he=e1-1
865 'e' is end of match 'e1' is end of sub-match 1, 's2' is start of submatch
867 8 Add more command line completion for :syntax.
868 8 Add more command line completion for :highlight.
869 8 In Insert mode, when there are typeahead characters, postpone the
870 highlighting (for "." command).
871 8 Syncing on comments isn't 100% correct when / / lines mix with / * and * /.
872 For example: What about a line that starts with / / and contains * /?
873 8 Ignore / * and * / inside strings, when syncing.
874 8 Add possibility to sync on something else, when the syncing in one way
875 doesn't find match. For HTML: When no {script} is found, try looking for
877 8 Replace the synchronizing method with a state machine specification.
878 Should be able to start at any line in the file, search forwards or
879 backwards, and use the result of matching a pattern.
880 7 Build a few more syntax files from the file "/usr/share/misc/vgrindefs":
881 ISP, LDL, Icon, ratfor. And check "nedit/source/highlight.c".
882 6 Add possibility to have background color continue until the right edge of
883 the window. Useful for comment blocks and function headings. (Rogall)
884 - Make it possible to add "contains" items for all items in a group. Useful
885 when extending an already existing syntax file.
886 - Allow the use of "blink". Make a new attr when it's used.
887 - Add line-continuation pattern for non-syncing items too?
888 7 Allow "\@1" in end (and skip) pattern, use first sub-match of start
889 pattern. To be used in e.g.: 'start="[/=+]" end="\@1"' Also for Perl.
890 8 Add cursor-column highlighting. Enable it with 'cursorcolumn' option, set
891 highlighting with "CursorColumn" group. Useful for aligning text.
892 Also cursor-row highlighting.
893 - Add possibility to highlight specific columns (for Fortran). Or put a
894 line in between columns (e.g. for 'textwidth').
895 - Add possibility to highlight the whole line, including the right margin
896 (for comment blocks).
897 - Add 'hlmatch' option: List of flags:
898 'c': highlight match for character under the cursor.
899 'b': highlight the previous (, and its match.
900 'a': highlight all text from the previous ( until its match.
901 Also for {}, <>, etc.?
902 'e': highlight all braces without a match (slow?)
903 OR: add an argument "cursor" to the syntax command, which means that the
904 region/match/keyword is only highlighted when the cursor is on it.
906 7 Make it possible to use all words in the tags files as Keyword.
907 Can also be done with a script (but it's slow).
908 7 Make it possible to call a ":" command when a match is found. Should
909 allow for adding keywords from the text (e.g. variables that are set).
910 And allows for sections with different highlighting.
911 7 Add highlight group for commandline: "Commandline". Make sure it
912 highlights the command line while typing a command, and any output from
913 messages. And external commands?
914 8 Make a version that works like less, but with highlighting: read stdin for
915 text, exit at end of file, don't allow editing, etc. moreim? lessim?
918 Built-in script language:
919 8 Add referring to key options with "&t_xx". Both for "echo &t_xx" and
920 ":let &t_xx =". Useful for making portable mappings.
921 8 Allow range for ":exec". Pass it on to the executed command. (Webb)
922 8 Add a way to catch errors:
924 : [commands that can fail]
928 8 Have a look at VSEL. Would it be useful to include? (Bigham)
929 8 Add ":fungroup" command, to group function definitions together. When
930 encountered, all functions in the group are removed. Suggest using an
931 obscure name to avoid name clashes. Require a ":fungroup END" in the same
932 sourced file? Assume the group ends at the end of the file. Handle
934 Alternative: Support packages. {package-name}:{function-name}().
935 Packages are loaded automatically when first used, from
936 $VIMRUNTIME/packages (or use a search path).
937 Or add a FuncUndefined autocommand, so that the user can handle loading a
938 function as he pleases. (Aaron)
939 Pre-parse or compile Vim scripts into a bytecode. Put the bytecode with
940 the original script, with an ":if" around it, so that it's only used with
941 a Vim that supports it.
942 8 The input() function should not read mapped characters, but always get
943 characters from the user (or a script). Need to change vgetorpeek() to
944 ignore mapped characters.
946 cursor(lnum, col) Position cursor (when lnum or col 0 keep val)
947 col("$") Column number of last char in line. See
948 ~/vim/patches/wall.coldollar .
949 multibyteidx(string, idx) Byte index in multi-byte character.
950 menuname({menu_name}, {idx}) get name of menu. menuname("", 1)
951 returns "File", menuname("File", 1) returns
953 menuarg({menu_name}) return argument of a menu item by name.
954 mapname({idx}, mode) return the name of the idx'th mapping.
955 match({pat}, {string}, [count]) get index of count'th match
956 stridx(bigstr, smallstr) return index of first smallstr in bigstr
957 strridx(bigstr, smallstr) return index of last smallstr in bigstr
958 sprintf(format, arg, ..) How to prevent a crash???
959 inputpassword() Ask user to enter password without showing it.
960 Or extra argument to input() (Haegg)
961 attributes() return file protection flags "drwxrwxrwx"
962 perl(cmd) call Perl and return string
963 shorten(fname) shorten a file name, like home_replace()
964 input(prompt, complete) like input() but do specified completion
965 filewritable() like filereadable()
966 getfperm() file permissions, in form "rwxrwxrwx"
967 getfsize() file size in bytes (directory is 0)
968 getftype() "file", "dir", "link", "other"?
969 getbufvar({bufid}, {name})
970 setbufvar({bufid}, {name}, {value})
971 get/set value of variable {name} in buffer
972 {bufid} See ~/vim/patches/aaron.getbufvar4
975 libcall() Allow more than one argument.
976 libcallnr() Like libcall(), but function returns a number.
977 fnamemod({fname}, {mod}) {mod} can be ":p:h" etc., to be applied to
979 getchar() get one character from the user.
980 confirm() add "flags" argument, with 'v' for vertical
981 layout and 'c' for console dialog. Also add
982 'c' to 'guioptions' (for all dialogs) (Haegg)
985 filter({cmd} [, {string}]) Filter {string} through the shell command
986 {cmd} and return the result. If {string} is
987 omitted no input is given to {cmd}.
988 getkey() Like input() but get only one char.
989 8 argc() returns 0 when using "vim -t tag". How to detect that no file was
990 specified in any way? To be able to jump to the last edited file.
991 8 When starting to source a vim script, delete all functions that it has
992 previously defined. Avoids using ":fun!" all the time.
993 8 Include support for arrays? Patch from Robert Webb.
994 7 Add optional arguments to user functions:
995 :func myFunc(arg1, arg2, arg3 = "blah", arg4 = 17)
996 6 User functions: Functions local to buffer "b:func()"?
997 8 Add ":let var[{expr}] = {expr}". When past the end of "var" just ignore.
998 8 The "= register should be writable, if followed by the name of a variable,
999 option or environment variable.
1000 8 ":let &option" should list the value of the option.
1001 7 Add synIDlist(), making the whole list of syntax items on the
1002 stack available (separated with '\n').
1003 8 Add autocommand-event for when a variable is changed:
1004 :au VarChanged {varname} {commands}
1005 8 Add per-buffer and per-window variables:
1006 b4:xxx buffer 4 variable
1007 b4:&yyy buffer 4 option 'yyy'
1008 w2:xxx window 2 variable
1009 Alternative: use getwinvar(), getbufvar(), setwinvar() and setbufvar().
1010 ( ~/vim/patches/aaron.getbufvar3 )
1011 Mostly the buffer/window number is not known, avoid using ":exe".
1012 8 Add "has("gui_capable")", to check if the GUI can be started.
1013 8 Add possibility to use variables like registers: characterwise (default),
1014 linewise (when ending in '\n'), blockwise (when ending in '\001'). reg0,
1015 rega, reg%, etc. Add functions linewise({expr}), blockwise({expr}) and
1017 7 Make it possible to do any command on a string variable (make a buffer
1018 with one line, containing the string). Maybe add an (invisible) scratch
1020 result = scratch(string, command)
1021 result = apply(string, command)
1022 result = execute(string, command)
1023 "command" would use <> notation.
1024 Does scratch buffer have a number? Or re-use same number?
1025 7 Add function to generate unique number (date in milliseconds).
1026 7 Automatically load a function from a file when it is called. Need an
1027 option for the search path. (Sekera)
1028 6 "g{if cond}" "g{while cond}", etc. in Normal mode, for mappings.
1029 6 Like Lotus: <IF cond>commands<ELSE>commands<ENDIF> (in any mode, handle in
1031 ":map _a athe term is <IF $TERM=="xterm">xterm<ELSE>unknown<ENDIF>.<Esc>"
1032 Use "<IF expression>commands<ELSE>commands<ENDIF>
1036 8 expand_context and expand_pattern should not be global. Pass them to
1037 ExpandOne() and lower.
1041 8 Avoid alloc() for scratch buffer use, esp. in syntax.c. It's very slow on
1043 9 Setting GUI options in the console (e.g., 'guifont') should not cause a
1045 8 Profiling shows that in_id_list() is used very often for C code. Can this
1046 function be improved?
1047 8 For an existing file, the page size of the swap file is always the
1048 default, instead of using the block size of the device, because the swap
1049 file is created only after setting the block size in mf_open(). How can
1051 8 Set default for 'ttyscroll' to half a screen height? Should speed up
1052 MS-DOS version. (Negri)
1053 7 DOS console: Add t_DL support, to make scrolling faster.
1054 8 When editing a file with extremely long lines (e.g., an executable), the
1055 "linerest" in readfile() is allocated twice to be able to copy what was
1056 read so far. Use realloc() instead? Or split the line when allocating
1057 memory fails and "linerest" is big (> 100000)?
1058 8 When defining autocommands (e.g., from $VIMRUNTIME/filetype.vim), need to
1059 compare each pattern with all existing patterns. Use a hash code to avoid
1060 using strcmp() too often?
1061 7 Include turbo_loader patches, speeding up reading a file?
1062 Speed up reading a file by reading it into a fixed-size buffer, creating
1063 the list of indexes in another buffer, and then copying the result into a
1064 memfile block with two copies. Then read the next block into another
1065 fixed-size buffer, create the second list of indexes and copy text from
1066 the two blocks to the memfile block.
1067 7 do_cmdline(): Avoid that the command line is copied to allocated memory
1068 and freed again later all the time. For while loops, and for when called
1069 with an argument that can be messed with.
1070 Generic solution: Make a struct that contains a pointer and a flag that
1071 indicates if the pointer should be freed when replaced.
1072 7 Check that that the file size is not more than "sizeof(long)".
1073 - Further improve finding mappings in maphash[] in vgetorpeek()
1074 8 Dragging the status line doesn't scroll but redraw.
1075 8 Syntax highlighting is slow when deleting lines. Try in
1076 $VIMRUNTIME/filetype.vim.
1077 8 "p" and "P" redraw everything after the put text. Should insert lines.
1078 - "out of memory" after deleting (1,$d) and changing (:%s/^/> /) a lot of
1079 lines (27000) a few times. Memory fragmentation?
1080 - Have a look at how pdksh does memory allocation (alloc.c). (Dalecki)
1084 - deleting 10Mbyte worth of lines (netscape binary)
1085 - ":g/^/m0" on a 450Kbyte file. And the "u".
1086 - highlighting "~/vim/test/longline.tex", "~/vim/test/scwoop.tcl" and
1087 "~/vim/test/lockup.pl".
1088 - loading a syntax file to highlight all words not from a dictionary.
1089 7 Screen updating can be further improved by only redrawing lines that were
1090 changed (and lines after them, when syntax highlighting was used, and it
1092 - On each change, remember start and end of the change.
1093 - When inserting/deleting lines, remember begin, end, and line count.
1094 - Use macros/duarte/capicua for profiling. Nvi 1.71 is the fastest!
1095 - When using a file with one long line (1Mbyte), then do "$hhhh", is still
1096 very slow. Avoid calling getvcol() for each "h"?
1097 - Executing a register, e.g. "10000@@" is slow, because ins_typebuf has to
1098 move the previous commands forward each time. Pass count from
1099 normal_cmd() down to do_execreg().
1100 - Repeating insert "1000i-<Esc>" displays --INSERT-- all the time, because of
1101 the <Esc> at the end. Make this work faster (disable redrawing).
1102 - Avoid calls to plines() for cursor line, use w_cline_height.
1103 - When only need to redraw the status lines in status_redraw_all(), need to
1104 update NOT_VALID to force the redraw. Should detect that only the status
1105 lines need to be redrawn (add STATUSLN between VALID and NOT_VALID?).
1106 - After :set nowrap remove superflous redraw with wrong hor. offset if cursor
1107 is right of the screen.
1111 8 Can't optimize normal.c, because of the big switch. Make it into a table
1113 8 GUI: When NO_CONSOLE is defined, more code can be excluded.
1114 - Put getline() and cookie in a struct, so only one argument has to be
1115 passed to do_cmdline() and other functions.
1116 8 move common files between os_unix.c and os_vms.c to one file?
1117 8 Make a GUI-only version for Unix?
1121 8 For 'verbose' level 12 print commands from source'ed files.
1122 8 Use 'report' for ":bdel"? (Krishna) To avoid these messages when using a
1124 - Delete message after new command has been entered and have waited for key.
1125 Perhaps after ten seconds?
1126 - Remember message line for redraw. Integrate the command line in
1128 - Make message history available in "msg" variables: msg1, msg2, .. msg9.
1129 9 Check handling of overwriting of messages and delays:
1130 Very wrong: errors while redrawing cause endless loop.
1131 When switching to another file and screen scrolls because of the long
1132 message and return must be typed, don't scroll the screen back before
1134 7 Add an option, which is a regexp, that disables warning messages which
1135 match that regexp (Tsirkin).
1136 8 When address range is wrong you only get "Invalid range". Be a bit more
1137 specific: Negative, beyond last line, reverse range? Include the text.
1138 8 Make it possible to ignore errors for a moment ('errorignore'?). Another
1139 option to switch off giving error messages ('errorquiet'?). Also an option
1140 not to give any messages ('quiet')? Or ":quiet on", ":quiet off".
1141 Careful: For a severe error (out of memory), and when the user starts
1142 typing, error messages must be switched back on.
1143 Also a flag to ignore error messages for shell commands (for mappings).
1144 8 Add ":silent {cmd}", silently run a command: no echoing, no hit-return
1145 prompt. Use ":silent!" to also skip error messages.
1146 - Option to set time for emsg() sleep. Interrupt sleep when key is typed?
1147 sleep before second message?
1148 8 In Ex silent mode or when reading commands from a file, what exactly is
1149 not printed and what is? Check ":print", ":set all", ":args", ":vers",
1150 etc. At least there should be no prompt. (Smulders) And don't clear the
1151 screen when reading commands from stdin. (Kendall)
1152 --> Make a difference between informative messages, prompts, etc. and
1153 error messages, printing text, etc.
1154 8 Window should be redrawn when resizing at the hit-return prompt.
1155 Also at the ":tselect" prompt. Find a generic solution for redrawing when
1156 a prompt is present (with a callback function?).
1160 7 Add a string to the 'display' option to make CTRL-E and CTRL-Y scroll one
1161 screen line, also if this means the first line doesn't start with the
1162 first character (like what happens with a single line that doesn't fit).
1164 - insert/delete character stuff.
1165 - improve delete rest of line (spaces at end of line).
1166 - When moving or resizing window, try to avoid a complete redraw (esp. when
1167 dragging the status line with the mouse).
1168 - When 'lazyredraw' set, don't echo :ex commands? Need a flag to redraw when
1169 waiting for a character.
1170 8 Add a ":refresh [winnr]" command, to force updating a window. Useful from
1171 an event handler where ":normal" can't be used. Also useful when
1172 'lazyredraw' is set in a mapping.
1176 8 Add "zm" command: scroll horizontally to put the cursor in the middle.
1177 6 Add option to set the overlap for CTRL-F and CTRL-B. (Garhi)
1178 - extend 'scrollbind' option: 'scrollopt' words "search", "relative", etc..
1179 Also 'e'xecute some commands (search, vertical movements) in all bound
1181 - Allow scrolling by dragging with the mouse. Like the "hand" in Acrobat
1182 reader. With which mouse button?
1183 - Add command to execute some commands (search, vertical movements) in all
1185 - Add 'search' option to 'scrollopt' to allow 'scrollbind' windows to
1186 be bound by regexp searches
1187 - Add "z>" and "z<": scroll sideways one screenfull. (Campbell)
1188 - Add 'sidescrolloff' option, like 'scrolloff', to make the cursor always
1189 appear in the middle of the window horizontally (Benjamin Griffin).
1190 - Add option to set the number of lines when not to scroll, instead of the
1191 fixed number used now (for terminals that scroll slow with a large number
1192 of lines but not with a single line).
1196 8 Should use acconfig.h to define prototypes that are used by autoheader.
1197 8 Some compilers don't give an error for "-OPT:Olimit" but a warning. (Webb)
1198 Add a check for the warning, so that "Olimit" can be added automatically?
1199 - Autoconf: Use @datadir@ for the system independent files. Make sure the
1200 system dependend and system independed files are separated. (Leitner).
1201 - Add autoconf check for waitpid()/wait4().
1202 - Remove fcntl() from autoconf, all systems have it?
1203 - Set default for 'dictionary', add search for dictionary to autoconf.
1207 8 Rename typemap file to something else?
1208 7 Make buffers accessed as Perl arrays. (Clark)
1209 7 Make it possible to compile with non-ANSI C?
1210 6 Tcl/Tk has the "load" command: load a shared library (.so or .dll).
1214 6 Add support for loading shared libraries, and calling functions in it.
1215 :libload internal-name libname
1216 :libunload internal-name
1218 :libcall internal-name function(arg1, arg2, ...)
1219 :libcall function(arg1, arg2, ...)
1220 libcall() can have only one integer or String argument at the moment.
1221 6 Have a look on how Perl handles loading dynamic libraries.
1225 8 Scope arguments for ":tag", e.g.: ":tag class:cPage open", like Elvis.
1226 8 When output of ":tselect" is long, getting the more-prompt, should be able
1227 to type the tag number directly.
1228 8 Add "**" wildcard from 'path' to 'tags': search a tree for tags files.
1229 And some way to search directories upwards in the tree:
1230 "./**/tags;$HOME", where the part after ';' tells where to stop.
1231 Schandl has a patch for this: ~/vim/patches/schandl.tags4 .
1232 7 Add 'tagignorecase' option from Vile: ignore case for tags.
1233 7 Make output of ":tselect" a bit nicer. Use highlighting?
1234 7 Highlight the "tag 1 of >2" message. New highlight group, or same as "hit
1235 bottom" search message.
1236 7 When using ":tag" at the top of the tag stack, should add another entry,
1237 so CTRL-T can bring you back to where you are now AND to where you were
1238 before the previous ":tag" command. (Webb)
1239 7 When using CTRL-] on someClass::someMethod, separate class from method and
1240 use ":ta class:someClass someMethod".
1241 Include C++ tags changes (Bertin). Change "class::func" tag into "func"
1242 with "class=class"? Docs in oldmail/bertin/in.xxx.
1243 7 Add ":tagargs", to set values for fields:
1244 :tagargs class:someclass file:version.c
1246 These are then the default values (changes the order of priority in tag
1248 7 Support for "gtags" and "global"? With ":rtag" command?
1249 There is an example for how to do this in Nvi.
1250 Or do it like Elvis: 'tagprg' and 'tagprgonce' options. (Yamaguchi)
1251 The Elvis method is far more flexible, do it that way.
1252 7 Support "col:99" extra field, to position the cursor in that column. With
1253 a flag in 'cpoptions' to switch it off again.
1254 7 Better support for jumping to where a function or variable is used. Use
1255 the id-utils, with a connection to "gid" (Emacs can do it too). Add
1256 ":idselect", which uses an "ID" database (made by "mkid") like "tselect".
1257 6 Don't store the search pattern from a tag command in the search history
1262 8 Add 'security' option. When "paranoid", disallow many things, like
1263 setting 'grepprg' and 'makeprg' from a modeline. When "trusted" allow
1264 these things. When "warn" give a warning message.
1265 Perhaps disallow setting these from a modeline: errorfile, backupdir,
1266 directory, makeef and viminfo. And maybe backup and writebackup?
1267 7 Disallow changing the buffer for commands from a tags file. Also for
1268 commands from a local .vimrc? Sort of strict secure mode.
1272 8 Add font argument to set the lfCharSet. (Bobcik)
1273 8 Remove "VIM -" from title, to give more room to path? The icon should
1274 identify the Vim process.
1275 8 Could keep console open to run multiple commands, to avoid the need to hit
1276 return in every console.
1277 Also: Look at how Emacs does runs external commands:
1278 http://www.cs.washington.edu/homes/voelker/ntemacs.html.
1279 8 When dropping a file onto gvim while at the ":" prompt, insert the file
1280 name. Allows using the name with different commands. (Krishna)
1281 7 Add a way to change the filter menu in the file selection dialog.
1282 8 Need a separate PopUp menu for modeless selection. Need two new commands:
1283 Copy selection to clipboard, Paste selection (as typed text).
1284 8 Dropping a file on a gvim that edits a modified buffer splits the window.
1285 Make an option to replace the current file (use ":e" instead of ":sp")?
1286 When dropping multiple files, display the first one and adjust the
1287 arglist. Or make it an option for the user to chose betwen ":e" and ":sp"?
1288 8 Support copy/paste for other file formats. At least HTML, perhaps RTF.
1289 Add "copy special" and "paste special" commands?
1290 7 Use <C-Tab> to cycle through open windows (e.g., the find dialog).
1291 7 <Esc> should close a dialog.
1292 7 Keep the console for external commands open. Don't wait for a key to be
1293 hit. Re-open it when the user has closed it anyway. Or use a prepended
1294 command: ":nowait {cmd}", or ":quiet", which executes {cmd} without any
1296 7 Should be able to set an option so that when you double click a file that
1297 is associated with Vim, you can either get a new instance of Vim, or have
1298 the file added into an already running Vim.
1302 9 Make <S-Insert> paste from the clipboard by default. (Kunze)
1303 8 Dragging the mouse pointer outside of a Vim Window should make the text
1304 scroll. Return a value from gui_send_mouse_event() to the machine
1305 specific code to indicate the time in which the event should be repeated.
1306 8 Make it possible to ignore a mouse click when it's used to give Vim (gvim)
1307 window focus. Also when a mouse click is used to bring a window to front.
1308 8 Make the split into system independend code and system specific code more
1309 explicit. There are too many #ifdefs in gui.c.
1310 If possible, separate the Vim code completely from the GUI code, to allow
1311 running them in separate processes.
1312 8 Support a background bitmap. Useful for marking a column. Patch from
1313 Heather Downs (GTK) and Vince Negri (Win32).
1314 8 Visual highlighting should keep the same font (bold, italic, etc.).
1315 8 Make the "Save As.." menu item work like other GUI programs: ":w file",
1317 8 Add 'c' flag in 'guioptios' to use console dialogs instead of GUI dialogs.
1318 Esp. for the ATTENTION prompt.
1319 7 Allow setting the mouse pointer shape, for different modes. Ralston has
1320 an old patch for this. Negri has one for Win32.
1321 8 Add flag to 'guioptions' to not put anything in the clipboard at all?
1322 8 ":let @* = 'text'" should set the selection. (Krishna)
1323 8 Should take font from xterm where gvim was started (if no other default).
1324 8 Selecting font names in X11 is difficult, make a script or something to
1326 8 Should support a way to use keys that we don't recognize yet. Add a
1327 command that adds entries to special_keys somehow. How do we make this
1328 portable (X11, Win32, ..)?
1329 8 Add option to use some lines of space between characters. Useful for
1330 multi-byte fonts. See patch from Nam.
1331 7 Add a flag to 'guioptions' that tells not to remove inactive menu items.
1332 For systems where greying-out or removing menu items is very slow. The
1333 menu items would remain visibly normally, but not do anything.
1334 7 Add ":minimize" and ":maximize", which iconize the window and back.
1335 Useful when using gvim to run a script (e.g. 2html.vim).
1336 7 X11: Is it possible to free allocated colors, so that other programs can
1337 use them again? Otherwise, allow disabling allocating the default colors.
1338 Or allocate an own colormap (check UAE). With an option to use it. For
1339 the commandline, "-install" is mostly used for X11 programs.
1340 Or: Find the nearest color. Patch from HierAssist. (Shah)
1341 7 X11: Check for keypad keys, so that they can be mapped separately.
1342 (Wellesz) ~/vim/patches/wellesz.keypad . But don't differentiate for
1343 different modes. Use key codes like xterm?
1344 7 GUI: Allow selection without moving the cursor by keeping CTRL and SHIFT
1345 pressed. (Wellesz) ~/vim/patches/wellesz.keypad .
1346 7 Add command line argument for "gvim" not to start the GUI. Sort of the
1347 inverse of "vim -g". (Vikas)
1348 6 Local buffer menus. (Zachmann)
1349 7 Should support multi-column menus.
1350 - Should add option for where to put the "Help" menu: like Motif at the far
1351 right, or with the other menus (but still at the right).
1352 - Add menu item to "Keep Insert mode".
1353 8 ":mkgvimrc" command, that includes menus.
1354 6 Big change: Move GUI to separate program "vimgui", to make startup of vim a
1355 lot faster, but still be able to do "vim -g" or ":gui".
1356 6 Make it possible to "drag the text" (grab a character and move it
1357 up/down). Use Alt-LeftMouse for this? (Goldfarb)
1358 7 More explicit mouse button binding instead of 'mousemodel'?
1359 7 Add option to set the position of the window on the screen. 'windowpos',
1360 which has a value of "123,456": <x>,<y>.
1361 Or add a command, like ":winsize"?
1362 7 Add toolbar for non-Win32 GUIs.
1363 7 Make it possible to put the toolbar on top, left, right and/or bottom of
1364 the window? Allows for softkey-like use.
1365 6 Separate the part of Vim that does the editing from the part that runs the
1366 GUI. Communicate through a pseudo-tty. Vim starts up, creates a
1367 pty that is connected to the terminal. When the GUI starts, the pty is
1368 reconnected to the GUI process. When the GUI stops, it is connected to
1369 the terminal again. Also use the pty for external processes, it looks
1370 like a vt100 terminal to them. Vim uses extra commands to communicate GUI
1372 - Motif steals <F10> from us, to pop up menus with the keyboard. How do we
1373 get it back if we want it?
1374 - Paste in Insert mode should not do autowrap etc. Or maybe this should be
1375 changeable with an option?
1376 - Put a nice picture in the icon (but how do we do that?).
1377 7 When using a pseudo-tty Vim should behave like some terminal (vt52 looks
1378 simple enough). Terminal codes to/from shell should be translated.
1379 - Would it be useful to be able to quit the GUI and go back to the terminal
1380 where it was started from?
1384 9 Make sure that side effects of autocommands are handled correctly. Don't
1385 execute autocommands when a buffer or window is halfway some changes.
1386 Move all apply_autocmds() calls to a higher level where needed.
1387 8 Use another option than 'updatetime' for the CursorHold event. The two
1388 things are unrelated for the user (but the implementation is more
1390 8 Can't use ":normal" in CursorHold autocommands. Make the CursorHold event
1391 insert a special key code, and call the autocommand functions from a
1392 higher level, so that vgetc() isn't used recursively.
1393 8 Autocommands should not change registers. And marks? And the jumplist?
1395 8 Autocommand for when modified files have been found, when getting input
1396 focus again (e.g., FileChangedFocus).
1397 Check when: getting focus, jumping to another buffer, ...
1398 8 Add autocommands, user functions and user commands to ":mkvimrc".
1399 8 Add "TagJumpFile" autocommand: When jumping to another file for a tag.
1400 Can be used to open "main.c.gz" when "main.c" isn't found.
1401 7 Add a way to skip an autocommand if going from one *.c file to another *.c
1403 7 When trying to open a directory, don't load the file but trigger an
1404 autocommand event OpenDirectory.
1405 7 Add file type in front of file pattern: <d> for directory, <l> for link,
1406 <x> for executable, etc. <&xxx> for Risc OS. With commas to separate
1407 alternatives. The autocommand is only executed when both the file type
1408 AND the file pattern match. (Leonard)
1409 5 Add option that specifies extensions which are to be discarded from the
1410 file name. E.g. 'ausuffix', with ".gz,.orig". Such that file.c.gz will
1411 trigger the "*.c" autocommands. (Belabas)
1412 7 Add something to break the autocommands for the current event, and for
1413 what follows. Useful for a "BufWritePre" that wants to avoid writing the
1415 8 Detect textmode after executing the autocommands, otherwise the .gz
1416 autocommands don't work for MS-DOS. Needs to be able to remove the ^Ms at
1417 the end of each line. Alternative: don't use a filter command, write the
1418 file, gunzip, set nobin, delete the lines, read the file.
1419 - Add events to autocommands:?
1420 Error - When an error happens
1421 NormalEnter - Entering Normal mode
1422 InsertEnter - Entering Insert mode
1423 ReplaceEnter - Entering Replace mode
1424 CmdEnter - Entering Cmdline mode
1425 VisualEnter - Entering Visual mode
1426 *Leave - Leaving the mode
1427 SearchPost - After doing a search command (e.g. to do "M")
1428 BufModified - When a buffer becomes modified, or unmodified (for
1429 putting a [+] in the window title).
1430 HierAssist has patch to add BufChangePre, BufChangePost
1431 and RevertBuf. (Shah)
1432 PreDirChanged/PostDirChanged
1433 - Before/after ":cd" has been used (for changing the
1435 BufReadAction - replaces reading a file
1436 BufWriteAction - replaces writing a file
1437 ShutDown - when the system is about to shut down
1438 InsertKeyPre - key hit in Insert mode, before inserting the char.
1439 InsertKeyPost - key hit in Insert mode, after inserting the char.
1440 FuncUndefined - calling a user function which doesn't exist (
1441 ~/vim/patches/aaron.getbufvar3 )
1442 - Add autocommand to be executed every so many seconds? For writing the
1443 file now and then ('autosave').
1444 *'autosave'* *'as'* *'noautosave'* *'noas'*
1445 'autosave' 'aw' number (default 0)
1446 Automatically write the current buffer to file N seconds after the
1447 last change has been made and when |'modified'| is still set.
1448 Default: 0 = do not autosave the buffer.
1451 Insert mode completion:
1452 9 ^X^L completion doesn't repeat correctly. It uses the first match with
1453 the last added line, instead of continuing where the last match ended.
1455 8 The code has become too complex. Redesign it, or at least add proper
1457 8 Add a command to undo the completion, go back to the original text.
1458 8 Use the class information in the tags file to do context-sensitive
1459 completion. After "foo." complete all member functions/variables of
1460 "foo". Need to search backwards for the class definition of foo.
1461 Should work for C++ and Java.
1462 8 Add thesaurus completion: ~/vim/patches/negri.thesaurus-mouseshape .
1463 7 Add CTRL-X command in Insert mode like CTRL-X CTRL-N, that completes WORDS
1465 8 Add CTRL-X CTRL-R: complete words from register contents.
1466 8 Add completion of previously inserted texts (like what CTRL-A does).
1467 Requires remembering a number of insertions.
1468 8 Add 'f' flag to 'complete': Expand file names.
1469 Also apply 'complete' to whole line completion.
1470 - Make it possible to search include files in several places. Use the
1471 'path' option? Can this be done with the dictionary completion (use
1472 wildcards in the file name)?
1473 - Make CTRL-X CTRL-K do a binary search in the dictionary (if it's sorted).
1474 - Speed up CTRL-X CTRL-K dictionary searching (don't use a regexp?).
1475 - Set a mark at the positition where the match was found (file mark, could
1476 be in another file).
1477 - Add CTRL-A command in CTRL-X mode: show all matches.
1478 - Make CTRL-X CTRL-L use the 'complete' option?
1479 - Add command in CTRL-X mode to add following words to the completed string
1480 (e.g. to complete "Pointer->element" with CTRL-X CTRL-P CTRL-W CTRL-W)
1481 - CTRL-X CTRL-F: Use 'path' to find completions.
1482 - CTRL-X CTRL-F: Don't replace "$VIM" with the actual value. (Kelly)
1483 8 Add option 'isexpand', containing characters when doing expansion (so that
1484 "." and "\" can be included, without changing 'iskeyword'). (Goldfarb)
1485 Also: 'istagword': characters used for CTRL-].
1486 When 'isexpand' or 'istagword' are empty, use 'iskeyword'.
1489 Command line completion:
1490 8 Change expand_interactively into a flag that is passed as an argument.
1491 8 When completing command names, either sort them on the long name, or list
1492 them with the optional part inside [].
1493 - For 'wildmenu': Simplify "../bar" when possible.
1494 - When using <Up> in wildmenu mode for a submenu, should go back to the
1495 current menu, not the first one. E.g., ":emenu File.Save<Up>".
1496 8 For ":find" and ":sfind" expand files found in 'path'.
1497 8 When using backtick expansion, the external command may write a greeting
1498 message. Add an option or commands to remove lines that match a regexp?
1499 7 When listing matches of files, display the common path separately from the
1500 file names, if this makes the listing shorter. (Webb)
1501 - Add command line completion for ":ilist" and friends, show matching
1503 8 Add command line completion for "old value" of a command. ":args <key>"
1504 would result in the current list of arguments, which you can then edit.
1505 6 Add command line completion with CTRL-X, just like Insert mode completion.
1506 Useful for ":s/word/xx/".
1507 - Add command to go back to the text as it was before completion started.
1508 Also to be used for <Up> in the command line.
1509 - Add 'wildlongest' option: Key to use to find longest common match for
1510 command line completion (default CTRL-L), like 'wildchar'. (Cregut)
1511 Also: when there are several matches, show them line a CTRL-D.
1512 7 With command line completion after '%' and '#', expand current/alternate
1513 file name, so it can be edited.
1514 - Add completion for Environment variables: ":echo $SH<Tab>" -> "$SHELL".
1517 Command line history:
1518 - Add "KeyWasTyped" flag: It's reset before each command and set when a
1519 character from the keyboard is consumed. Value is used to decide to put a
1520 command line in history or not. Put line in history if it didn't
1521 completely resulted from one mapping.
1522 - When using ":browse", also put the resulting edit command in the history,
1523 so that it can be repeated. (Demirel)
1526 Command-line editing:
1527 8 Change CTRL-U on cmdline to delete from cursor to start of line?
1528 For compatibility, map CTRL-U to CTRL-E CTRL-U.
1529 7 Add commands (keys) to delete from the cursor to the begin or the end of
1531 - Korn-shell or tcsh like command line editing (like editing a single line
1532 with vi). Use :cmap! for mappings. Can be implemented like a buffer
1533 containing command lines. Use CTRL-O instead of <Esc>, to remain
1534 vi-compatible? See remarks from Steve (oldmail/kirkendall/in.012).
1535 - Add 'cedit' option like Nvi: editing commandline in a window?
1536 NO! It's too confusing (e.g. when using ^W^W to go to another window, when
1537 doing ":" and starting another commandline edit windows, etc.).
1538 YES! Some people like it anyway (forbid ^W^W).
1539 Use Elvis's method too (commandline is like a one-line window into a buffer
1540 that contains the commandline history).
1541 - Add flags to 'whichwrap' for command line editing (cursor right at end of
1542 lines wraps to start of line).
1546 9 When 'autoindent' is set, hitting <CR> twice, while there is text after
1547 the cursor, doesn't delete the autoindent in the resulting blank line.
1548 (Rich Wales) This is Vi compatible, but it looks like a bug. Rich has a
1549 suggestion for a patch to fix this.
1550 8 <C-G><Up> and <C-G><Down> in Insert mode move to the column where insert
1551 started, like Elvis. (patch from Lord) Perhaps an option to allow "j" and
1552 "k" after an insert to go to the column where inserting started.
1553 8 When using CTRL-O in Insert mode, then executing an insert command
1554 "a" or "i", should we return to Insert mode after <Esc>? (Eggink)
1555 Perhaps it can be allowed a single time, to be able to do
1556 "<C-O>10axyz<Esc>". Nesting this further is confusing.
1557 ":map <F2> 5aabc<Esc>" works only once from Insert mode.
1558 7 Make ":startinsert" command work directly for functions and scripts?
1559 Also make it possible to append (it's difficult at end of line).
1560 - In Insert mode (and command line editing?): Allow undo of the last typed
1561 character. This is useful for CTRL-U, CTRL-W, delete and backspace, and
1562 also for characters that wrap to the next line.
1563 Also: be able to undo CTRL-R (insert register).
1564 Possibly use 'backspace'="whole" for a mode where at least a <CR> that
1565 inserts autoindent is undone by a single <BS>.
1566 - Use CTRL-G in Insert mode for an extra range of commands, like "g" in
1568 - Make 'paste' work without resetting other options, but override their
1569 value. Avoids problems when changing files and modelines or autocommands
1571 - When typing CTRL-V and a digit higher than 2, only expect two digits.
1572 - Insert binary numbers with CTRL-V b.
1573 - Make it possible to undo <BS>, <C-W> and <C-U>. Bash uses CTRL-Y.
1576 'cindent', 'smartindent':
1577 9 closing } not recognized? (Francois-Xavier Menard)
1578 (char *tab[] = {"aaa",
1581 9 When using 'cino' "f1s" the indent after a function is set to the indent
1582 of the "}", should be zero.
1583 9 One indent to much when doing "o" below this "while": (Rouben Rostamian)
1591 7 Allow aligning a closing ")" with the line above, instead of the matching
1592 "(": (Riehm) if (asdfasdf &&
1595 9 "case xx: {", or in general: any { with text before it, a matching }
1596 should not line up with the {, but with the indent at that position.
1597 Add setting for K&R paren style? Should be used for this:
1601 8 "int asdf,<CR>asdf;" should indent the second line more. (Zellner)
1602 8 In C++ it's possible to have {} inside (): (Kirshna)
1609 7 Separate "(0" option into inside/outside a function (Zellner):
1611 int x) // indent like "(4"
1614 && b) // indent like "(0"
1615 9 Wrong indent for continuation line with a string:
1623 Also note that the "tem" line has an extra indent. It appears that the
1624 brace matching doesn't work, because of the single " in the line.
1625 9 Wrong indent for cino=(4, removing the (void) fixes it: (Zellner)
1626 (void) MyFancyFunction(
1628 7 Make indenting more flexible, like syntax highlighting.
1629 - Make smartindenting configurable. Add 'sioptions', e.g. '#' setting the
1630 indent to 0 should be switched on/off.
1631 7 Support ANSI style function header, with each argument on its own line.
1632 - "[p" and "]p" should use 'cindent' code if it's on (only for the first
1634 - Add option to 'cindent' to set indent for comments outside of {}?
1635 - Make a command to line up a comment after a code line with a previous
1636 comment after a code line. Can 'cindent' do this automatically?
1637 7 Add 'j' flag to 'formatoptions': Remove comment leader when joining lines.
1638 - formatting of struct/array inits:
1639 The lines used to initialise the struct or array above should not be
1640 considered 'continuation' lines just because the previous one does not end
1641 with ';'. If you go back line by line I think it should be possible to
1642 tell the difference. If you find a line that ends in ';', then it's OK to
1643 have continuation lines. If you find a "{", and the character before it
1644 (not counting space & comments) is either ',' or '=', then there should
1645 not be continuation lines. If the character before the "{" is another
1646 "{", then you have to check before that one too.
1647 - When 'cindent'ing a '}', showmatch is done before fixing the indent. It
1648 looks better when the indent is fixed before the showmatch. (Webb)
1649 - Add option to make indenting work in comments too (for commented-out
1650 code), unless the line starts with "*".
1651 - Don't use 'cindent' when doing formatting with "gq"?
1652 - When formatting a comment after some text, insert the '*' for the new line
1653 (indent is correct if 'cindent' is set, but '*' doesn't get inserted).
1654 - For smartindent: When typing 'else' line it up with matching 'if'.
1655 - 'smartindent': allow patterns in 'cinwords', for e.g. TeX files, where
1656 lines start with "\item".
1657 - Support this style of comments (with an option): (Brown)
1658 /* here is a comment that
1659 is just autoindented, and
1661 - Add words to 'cinwords' to reduce the indent, e.g., "end" or "fi".
1662 7 Use Tabs for the indent of starting lines, padd with spaces for
1663 continuation lines. Allows changing 'tabstop' without messing up the
1665 And/or: Add option to copy indent as-is, without changing spaces to tabs.
1669 8 Can have {} constructs inside parens. Include changes from Steve
1671 8 Recognize "import java.util.Vector" and use $CLASSPATH to find files for
1672 "[i" commands and friends.
1676 7 When using "comments=fg:--", Vim inserts three spaces for a new line.
1677 When hitting a TAB, these spaces could be removed.
1678 7 The 'n'esting flag doesn't do the indenting of the last (rightmost) item.
1679 6 Make strings in 'comments' option a RE, to be able to match more
1680 complicated things. (Phillipps) Use a special flag to indicate that a
1682 8 Make the 'comments' option with "/* * */" lines only repeat the "*" line
1683 when there is a "/*" before it? Or include this in 'cindent'?
1687 8 Add test script for text object commands "aw", "iW", etc.
1688 8 Add "gp" and "gP" commands: insert text and make sure there is a single
1689 space before it, unless at the start of the line, and after it, unless at
1690 the end of the line or befor a ".".
1691 7 Add "g{" and "g}" to move to the first/last character of a paragraph
1692 (instead of the line just before/after a paragraph as with "{" and "}").
1693 6 Ignore comment leaders for objects. Make "das" work in reply-email.
1694 5 Make it possible to use syntax group matches as a text object. For
1695 example, define a "ccItem" group, then do "da<ccItem>" to delete one.
1696 Or, maybe just define "dai", delete-an-item, to delete the syntax item the
1701 7 Alt-leftmouse starts block mode selection in MS Word.
1702 7 Add Cmdline-select mode. Like Select mode, but used on the command line.
1703 - Change gui_send_mouse_event() to pass on mouse events when 'mouse'
1704 contains 'C' or 'A'.
1705 - Catch mouse events in ex_getln.c. Also shift-cursor, etc., like in
1707 - remember start and end of selection in cmdline_info.
1708 - Typing text replaces the selection.
1712 9 With blockwise Visual mode, "A" works different than "I" when there are
1713 short lines. Make them work the same way. Also make it possible to add
1714 the text to short lines too, with padding where needed.
1715 8 "p" should replace the Visual area with the contents of a register (swap
1716 register contents with Visual text).
1717 8 In non-blockwise Visual mode, "r" should replace all characters with the
1718 typed one, like in blockwise Visual mode.
1719 What is "R" supposed to do?
1720 7 Support dragging the Visual area to drop it somewhere else. (Aaron)
1721 7 With blockwise Visual mode and "c", "C", "I", "A", etc., allow the use of
1722 a <CR>. The entered lines are repeated over the Visual area.
1723 7 CTRL-V :s should substitute only in the block, not to whole lines.
1724 7 Filtering a block should only apply to the block, not to the whole lines.
1725 When the number of lines is increased, add lines. When decreased, padd with
1726 spaces or delete? Use ":`<,`>" on the command line.
1727 8 After filtering the Visual area, make "gv" select the filtered text?
1728 Currently "gv" only selects a single line, not useful.
1729 7 Don't move the cursor when scrolling? Needed when the selection should
1730 stay the same. Scroll to the cursor at any movement command. With an
1732 7 In Visual block mode, need to be able to define a corner on a position
1733 that doesn't have text? Also: when using the mouse, be able to select
1734 part of a TAB. Even more: Add a mode where the cursor can be on a screen
1735 position where there is no text. When typing, add spaces to fill the gap.
1736 Other solution: Always use curswant, so that you can move the cursor to
1737 the right column, and then use up/down movements to select the line,
1738 without changing the column.
1739 6 ":left" and ":right" should work in Visual block mode.
1740 7 For Visual mode: Command to do a search for the string in the marked area.
1741 Only when less than two lines. Use "g/" and "g?".
1742 7 CTRL-I and CTRL-O should work in Visual mode, but only jump to marks in the
1744 7 CTRL-A and CTRL-X should increase/decrease all numbers in the Visual area.
1745 7 "g_CTRL-G" should count the number of characters in the Visual area.
1746 6 "I" should insert the same text in front of each line, before the first
1747 non-blank, "gI" in column 1.
1748 6 "A" should append the same text after each line.
1749 6 ":'<,'>source" should read the selected lines and ":source" them.
1750 6 When in blockwise visual selection (CTRL-V), allow cursor to be placed
1751 right of the line. Could also allow cursor to be placed anywhere on a TAB
1752 or other special character.
1753 6 Add commands to move selected text, without deselecting.
1757 8 Quickfix mode: Column number should be interpreted with an 8-character
1759 8 Add patch for "^" column number style ~/vim/patches/roemer.quickfix .
1762 More advanced repeating commands:
1763 - Add "." command for visual mode: redo last visual command (e.g. ":fmt").
1764 - Add "." command after operator: repeat last command of same operator. E.g.
1765 "c." will repeat last change, also when "x" used since then (Webb).
1766 "y." will repeat last yank.
1767 "2gc." will repeat the last but one change?
1768 Also: keep history of Normal mode commands, add command to list the history
1769 and/or pick an older command.
1770 - History stack for . command? Use "g." command.
1773 Mappings and Abbreviations:
1774 8 To make a mapping work with a prepended "x to select a register, store the
1775 last _typed_ register name and access it with "&.
1776 8 Add ":amap", like ":amenu".
1777 8 Add ":cab!", abbreviations that only apply to Command-line mode and not to
1778 entering search strings.
1779 8 Allow mapping of CTRL-@ (anywhere in the LHS).
1780 8 Add a way to save a current mapping and restore it later. Use a function
1781 that returns the mapping command to restore it: mapcmd()? mapcheck() is
1782 not fool proof. How to handle ambigious mappings?
1783 7 Mappings local to a buffer. Or Mappings local to a filetype?
1784 7 Add <0x8f> (hex), <033> (octal) and <123> (decimal) to <> notation?
1785 7 Allow mapping "Q" and "Q}" at the same time. Need to put a flag with "Q",
1786 that it needs an extra character before it can match. See Vile 'maplonger'
1788 7 When someone tries to unmap with a trailing space, and it fails, try
1789 unmapping without the trailing space. Helps for ":unmap xx | unmap yy".
1790 7 Make it possible to map 'wildchar', but only when it's a special character
1791 (like CTRL-E). Currently it's only recognized when typed. Useful for
1792 mapping a key to do something and then completion.
1793 6 Context-sensitive abbreviations: Specify syntax group(s) in which the
1794 abbreviations are to be used.
1795 - Add mappings that take arguments. Could work like the ":s" command. For
1796 example, for a mouse escape sequence:
1797 :mapexp <Esc>{\([0-9]*\),\([0-9]*\); H\1j\2l
1798 - Add the possibility to enter mappings which are used whenever normal text
1799 could be enetered. E.g., for "f" command. But not in Normal mode. Sort
1800 of opposite of 'langmap'. Use ":tmap" command?
1801 - Make it possible to include a <Nul> in the lhs and rhs of a mapping.
1802 - Add command to repeat a whole mapping ("." only repeats the last change in
1803 a mapping). Also: Repeat a whole insert command, including any mappings
1804 that it included. Sort-of automatic recording?
1805 - Make it possible to undo all the commands from a mapping, including a
1806 trailing unfinished command, e.g. for ":map K iX^[r".
1807 - Add an option to ":map" that makes it display the special keys in
1808 <> notation (e.g. <CR> instead of ^M). Or just always do this?
1809 - Include an option (or flag to 'cpoptions') that makes errors in mappings
1810 not flush the rest of the mapping (like nvi does).
1811 - Use context sensitiveness of completion to switch abbreviations and
1812 mappings off for :unab and :unmap.
1813 6 When using mappings in Insert mode, insert characters for incomplete
1814 mappings first, then remove them again when a mapping matches. Avoids
1815 that characters that are the start of some mapping are not shown until you
1816 hit another character.
1817 - Add optional <Number> argument for mappings:
1818 :map <Number>q ^W^W<Number>G
1819 :map <Number>q<Number>t ^W^W<Number1-1>G<Number2>l
1820 :map q<Char> :s/<Char>/\u\0/g
1822 :map q <Register>d<Number>$
1823 - Add mappings for replace mode: ":rmap". How do we then enter mappings for
1824 non-replace Insert mode?
1825 - Add separate mappings for Visual-character/block/line mode?
1826 6 Alias for Normal mode commands, works like :substitute? Would allow
1827 mappings with arguments.
1828 - Add 'mapstop' command, to stop recursive mappings.
1829 - List mappings that have a raw escape sequence both with the name of the key
1830 for that escape sequence (if there is one) and the sequence itself.
1831 - List mappings: Once with special keys listed as <>, once with meta chars as
1832 <M-a>, once with the byte values (octal?). Sort of "spell mapping" command?
1833 - When entering mappings: Add the possibility to enter meta keys like they
1834 are displayed, within <>: <M-a>, <~@> or <|a>.
1835 - Allow multiple arguments to :unmap.
1836 - Command to show keys that are not used and available for mapping
1838 - Allow any character except white space in abbreviations lhs (Riehm).
1839 8 Add spell checking. For example, include ispell:
1840 ~/vim/patches/wm_vim-5_4d.zip .
1841 Or: Use "ispell -a".
1845 - Add a limit to the number of lines that are searched for 'incsearch'?
1846 - When incsearch used and hitting return, no need to search again in many
1847 cases, saves a lot of time in big files. (Slootman wants to work on this?)
1848 When not using special characters, can continue search from the last match
1849 (or not at all, when there was no match). See oldmail/webb/in.872.
1850 - With incsearch, use CTRL-N/CTRL-P to go to next/previous match, some other
1851 key to copy matched word to search pattern (Alexander Schmid).
1855 8 Allow identical pairs in 'matchpairs'. Restrict the search to the current
1857 8 Make it possible to define the character that "%" checks for in
1858 #if/#endif. For nmake it's !if/!endif.
1859 - For "%" command: set hierarchy for which things include other things that
1860 should be ignored (like "*/" or "#endif" inside /* */).
1861 Also: use "%" to jump from start to end of syntax region and back.
1862 8 "/:/e+1" gets stuck on a match at the end of the line. Do we care?
1863 8 A pattern like "\([^a]\+\)\+" takes an awful long time. Recognize that
1864 the recursive "\+" is meaningless and optimize for it.
1865 This one is also very slow on "/* some comment */": "^\/\*\(.*[^/]\)*$".
1866 7 Recognize "[a-z]", "[0-9]", etc. and replace them with the faster "\l" and
1868 8 Flags that apply to the whole pattern.
1869 This works for all places where a regexp is used.
1870 Add "\q" to not store this pattern as the last search pattern?
1871 8 Add an option not to use 'hlsearch' highlighting for ":s" and ":g"
1872 commands. (Kahn) It would work like ":noh" is used after that command.
1873 Also: An extra flag to do this once, and a flag to keep the existing
1875 - Add {group-name} flag for search string, to restrict the search to a
1876 specific highlight group. Use "/./<Group>" to find the start of a group.
1877 - Support Perl regexp. Use PCRE (Perl Compatible RE) package. (Shade)
1878 Switch on with an option for typed commands/mappings/functions?
1879 8 Why does ".*" have a limit of 32767 characters? Can it be removed?
1880 7 Add POSIX regexp, like Nvi, with 'extended' option? It's like very-magic.
1881 - Remember flags for backreferenced items, so that "*" can be used after it.
1882 Check with "\(\S\)\1\{3}". (Hemmerling)
1883 - Add flags to search command (also for ":s"?):
1886 p use Perl regexp syntax (or POSIX?)
1887 v use Vi regexp syntax
1888 f forget pattern, don't keep it for "n" command
1889 r remember patter, keep it for "n" command
1890 Perl uses these too:
1891 e evaluate the right side as an expression (Perl only)
1892 m multiple line expression
1893 o compile only once (Perl only)
1894 s single line expression
1896 When used after ":g" command, backslash needed to avoid confusion with the
1898 Add 'searchflags' for default flags (replaces 'gdefault').
1899 - Add command to display the last used substitute pattern and last used
1900 pattern. (Margo) Maybe make it accessible through a register (like "/
1902 7 Should notice that "\(a\|ab\|abc\|abcd\)" doesn't work, automatically
1903 change it to "\(abcd\|abc\|ab\|a\)"? (Campbell)
1904 7 Use T-search algorithm, to speed up searching for strings without special
1905 characters. See C't article, August 1997.
1906 - Add 'fuzzycase' option, so that case doesn't matter, and '-' and '_' are
1907 equivalent (for Unix filenames).
1908 - Add 'v' flag to search command: enter Visual mode, with the matching text
1909 as Visual area. (variation on idea from Bertin)
1910 - Searching: "/this//that/" should find "that" after "this".
1911 - Add global search commands: Instead of wrapping at the end of the buffer,
1912 they continue in another buffer. Use flag after search pattern:
1913 a for the next file in the argument list
1914 f for file in the buffer list
1915 w for file edited in a window.
1916 e.g. "/pat/f". Then "n" and "N" work through files too. "f" flag also for
1917 ":s/pat/foo/f"??? Then when 'autowrite' and 'hidden' are both not set, ask
1918 before saving files: "Save modified buffer "/path/file"? (Yes/Hide/No
1919 Save-all/hide-All/Quit) ".
1920 - Special characters in patterns:
1921 \A beginning of string (for multi-line matching)
1922 \Z end of string (idem)
1924 \012 octal character
1926 \<BS> \<Esc>: special character
1927 7 When searching with 'n' give message when getting back where the search
1928 first started. Remember start of search in '/ mark.
1929 7 Add option that scrolls screen to put cursor in middle of screen after
1930 search always/when off-screen/never. And after a ":tag" command. Maybe
1931 specify how many lines below the screen causes a redraw with the cursor in
1932 the middle (default would be half a screen, zero means always).
1933 6 Add \! to search patterns: matches string that does not match previous
1934 atom. Note that this only works for lookahead.
1935 5 Add \<= and \<! to search patterns: lookbehind assertion, like Perl's
1936 (?<=pat) and (?<!pat). \(foo\)\<=bar matches "bar" in "foobar".
1937 \(foo\)\<!bar doesn't match "bar" in "foobar".
1938 6 Use \& for "and", like \| for "or".
1939 6 Support multiple search buffers, so macros can be made without side
1941 7 From xvim: Allow a newline in search patterns (also for :s, can delete
1942 newline). Add BOW, EOW, NEWL, NLORANY, NLBUTANY, magic 'n' and 'r', etc.
1943 [not in xvim:] Add option to switch on matches crossing ONE line boundary.
1944 7 Add ":iselect", a combination of ":ilist" and ":tselect". (Aaron)
1949 8 Make undo more memory-efficient: Compare text before and after change,
1950 only remember the lines that really changed. When calling u_save with a
1951 single line, don't save it if line was already saved for undo.
1952 7 Add an undo tree: When making a change, instead of clearing any future
1953 undo (thus redo) info, make a new branch. How to navigate through the
1955 - For u_save() include the column number. This can be used to set '[ and '].
1956 And in the future the undo can be made more efficient (Webb).
1957 - In out-of-memory situations: Free allocated space in undo, and reduce the
1958 number of undo levels (with confirmation).
1959 - Instead of [+], give the number of changes since the last write: [+123].
1960 When undoing to before the last write, change this to a negative number:
1962 7 Make it possible to jump to the location of the last change. Like doing
1963 "u" "CTRL-R". (Lange)
1964 - With undo with simple line delete/insert: optimize screen updating.
1965 - When executing macro's: Save each line for undo only once.
1966 - Store undo info in a file that survives until the next edit. Then it's
1967 possible to undo to before the current editing session. Combined with
1969 - When doing a global substitute, causing almost all lines to be changed,
1970 undo info becomes very big. Put undo info in swap file??
1974 7 Command to execute a command in another buffer: ":inbuf {bufname} {cmd}".
1975 Also for other windows: ":inwin {winnr} {cmd}". How to make sure that
1976 this works properly for all commands, and still be able to return to the
1977 current buffer/window? E.g.: ":inbuf xxx only".
1978 8 Share things between buffers with the same 'filetype': syntax, mappings,
1979 autocommands, buffer-specific options, etc.. Avoids that syntax is
1980 reloaded when jumping from *.c to *.c file and reduces the need for
1981 BufEnter autocommands.
1982 8 Add File.{recent_files} menu entries: Recently edited files.
1983 8 Unix: Check all uses of fnamecmp() and fnamencmp() if they should check
1985 7 Add another number for a buffer, which is visible for the user. When
1986 creating a new buffer, use the lowest number not in use. (or the highest
1987 number in use plus one?)
1988 7 Offer some buffer selection from the command line? Like using ":ls" and
1989 asking for a buffer number. (Zachmann)
1990 - When starting to edit a file that is already in the buffer list, use the
1991 file name argument for the new short file name. (Webb)
1992 - Add an option to make ":bnext" and ":bprev" wrap around the end of the
1993 buffer list. Also for ":next" and ":prev"?
1994 7 Add argument to ":ls" which is a pattern for buffers to list.
1995 E.g. ":ls *.c". (Thompson)
1996 7 Add expansion of buffer names, so that "*.c" is expanded to all buffer
1997 names. Needed for ":bdel *.c", ":bunload *.c", etc.
1998 8 Support for <afile> where a buffer name is expected.
1999 8 Some commands don't use line numbers, but buffer numbers. '$'
2000 should then mean the number of the last buffer. E.g.: "4,$bdel".
2001 7 Add an option to mostly use slashes in file names. Separately for
2002 internal use and for when executing an external program?
2006 8 If writing to the swap file fails, should try to open one in another
2007 directory from 'dir'. Useful in case the file system is full and when
2008 there are short file name problems.
2009 8 Also use the code to try using a short file name for the backup and swap
2010 file for the Win32 and Dos 32 bit versions.
2011 8 When the edited file is a symlink, try to put the swap file in the same
2012 dir as the actual file. Adjust FullName(). Avoids editing the same file
2013 twice (e.g. when using quickfix). Also try to make the name of the backup
2014 file the same as the actual file?
2015 7 When using 64 bit inode numbers, also store the top 32 bits. Add another
2016 field for this, using part of bo_fname[], to keep it compatible.
2017 7 When editing a file on removable media, should put swap file somewhere
2018 else. Use something like 'r' flag in 'viminfo'. 'diravoid'?
2019 Also: Be able to specify minimum disk space, skip directory when not
2021 7 Add a configure check for which directory should be used: /tmp, /var/tmp
2023 - Add an option to create a swap file only when making the first change to
2024 the buffer. (Liang) Or only when the buffer is not read-only.
2025 - Add option to set "umask" for backup files and swap files (Antwerpen).
2026 'backupumask' and 'swapumask'? Or 'umaskback' and 'umaskswap'?
2027 - When editing a readonly file, don't use a swap file but read parts from the
2028 original file. Also do this when the file is huge (>'maxmem'). We do
2029 need to load the file once to count the number of lines? Perhaps keep a
2030 cached list of which line is where.
2034 7 Can probably remove the code that checks for a writable viminfo file,
2035 because we now do the chown() for root, and others can't overwrite someone
2036 else's viminfo file.
2037 8 Add argument to keep the list of buffers when Vim is started with a file
2039 8 Keep the last used directory of the file browser (File/Open menu).
2040 8 Remember a list of last accessed files. To be used in the
2041 "File.Open Recent" menu. Default is to remember 10 files or so.
2042 Also remember which files have been read and written. How to display
2044 7 Make it possible to store buffer names in viminfo file relative to some
2045 directory, to make them portable over a network. (Aaron)
2046 6 Store a snapshot of the currently opened windows. So that when quitting
2047 Vim, and then starting again (without a file name argument), you see the
2048 same files in the windows. Use ":mksession" code?
2049 - Make marks present in .viminfo usable as file marks: Display a list of
2050 "last visited files" and select one to jump to.
2051 - Add jumplist to viminfo file, so that CTRL-O can be used.
2055 8 Before trying to execute a modeline, check that it looks like one (valid
2056 option names). If it's very wrong, silently ignore it.
2057 Ignore a line that starts with "Subject: ".
2058 - When an option value is coming from a modeline, do not carry it over to
2059 another edited file? Would need to remember the value from before the
2061 - Allow setting a variable from a modeline? Only allow using fixed strings,
2062 no function calls, to avoid a security problem.
2063 - Allow ":doauto BufRead x.cpp" in modelines, to execute autocommands for
2065 - Support the "abbreviate" command in modelines (Kearns). Careful for
2066 characters after <Esc>, that is a security leak.
2067 - Add option setting to ask user if he wants to have the modelines executed
2068 or not. Same for .exrc in local dir.
2072 8 When using set +=, check for flags used twice. Add P_FLAGS for options
2073 that are a list of flags, and remove doubled flags.
2074 Also see ~/vim/patches/negri.optionadd . (Negri)
2075 8 Make ":mksession" store buffer-specific options for the specific buffer.
2076 8 With ":mksession" always store the 'sessionoptions' option, even when
2077 "options" isn't in it. (St-Amant)
2078 8 When using ":mksession", also store a command to reset all options to
2079 their default value, before setting the options that are not at their
2081 8 Should ":mksession" restore the current directory when writing the
2082 session, or the directory where the session file is? Probably need a word
2083 in 'sessionoptions' to make a choice.
2084 8 Make "old" number options that really give a number of effects into string
2085 options that are a comma separated list. The old number values should
2087 8 Make it possible to set options from modelines, mappings and :sourced
2088 files only temporarily for that file (needs a stack for saving old
2089 options). ":this set" command? Also ":this map", ":this abbrev".
2091 8 Add commands to save and restore an option, which also preserves the flag
2092 that marks if the option was set. Useful to keep the effect of setting
2093 'compatible' after ":syntax on" has been used.
2094 8 When entering a new buffer, don't copy buffer-specific options. Need a
2095 set of buffer-neutral options.
2096 7 There is 'titleold', why is there no 'iconold'? (Chazelas)
2100 9 When filtering a buffer (e.g., to gunzip it) marks are changed when they
2101 shouldn't. Add an option to switch of adjusting marks. Use it for .gz
2102 files gunzipping and gzipping.
2103 8 When filtering text, redirect stderr so that it can't mess up the screen
2104 and Vim doesn't need to redraw it. Also for ":r !cmd".
2105 4 Set separate shell for ":sh", piping "range!filter", reading text "r !ls"
2106 and writing text "w !wc". (Deutsche) Allow arguments for fast start (e.g.
2108 4 Allow direct execution, without using a shell.
2109 4 Run an external command in the background. But how about I/O in the GUI?
2110 Careful: don't turn Vim into a shell!
2111 - Add ":silent !cmd": Don't echo shell commands.
2112 4 Add feature to disable using a shell or external commands.
2116 - three basic modes (with a "fold mode" setting?):
2117 1. automatic: set folding level, all lines above this level will be folded
2118 - For C-code: fold more or less {} blocks.
2119 - For C-code: fold comments or non-comments.
2120 - Fold depending on the indent (or use a regexp).
2121 - Use syntax highlighting stuff to detect a folding level.
2122 Syntax-highlighting, syntax-folding (and syntax-indenting).
2123 2. manual: the user specifies which lines to fold or unfold.
2124 ":[range]fold". Can use Visual mode to fold any range of lines:
2125 "vaB:fold". Use ":[range]fold {text}" to give a name to the fold.
2126 3. half-automatic: recognize objects in the text, allow the user to
2127 fold/unfold these objects.
2128 - Allow the user to specify the marker, or regexp, or use syntax
2130 This is actuall 2 with some commands added to select lines.
2131 David Harrison has some things.
2132 - Unfold with <Tab> on folded line? Or at least ":[line]unfold".
2133 Or use "<" to fold more and ">" to unfold.
2134 - Use the concept of a "view" on a file: Contains the folding, topline,
2135 'list', 'number', 'hlsearch', 'wrap', etc.
2136 Be able to store and retrieve views. Automatically (use last used view
2137 for a file) and under a name (store combinations of options). In viminfo?
2138 - Programs to use as an example:
2139 ae (Williams): www.interalpha.net/customer/nyangau/
2141 fe (Beton prefers f): http://www.moria.de/~michael/fe/
2142 origami: www.hensa.ac.uk/parallel/tools/editors/folding-editors/index.html
2143 Elcomsoft's (has bugs): www.elcomsoft.com/origami.html
2145 WinFold (~/src/winfold).
2146 Codewright: regexp, brace level, indent level, preprocs, lines,
2147 paragraphs, functions.
2148 macros: ~/vim/macros/fold.vim .
2149 - Ex range which stands for folded lines and non-folded lines.
2150 :=d cmd displayed lines
2151 :=f cmd folded lines
2152 - Deleting a "folded" line deletes all the folded lines. Putting it
2153 somewhere else puts all the folded lines. Useful for moving functions
2155 - Display folded lines with "+--- %d lines folded".
2156 - Implementation: Remember the folding level for each line (perhaps in a
2157 list of ranges). Select lines when displaying the buffer in a window.
2158 Use an option to tell to display lines above or below a fold level.
2159 - Add 'hidecomment' option: don't display comments in /* */ and after //.
2163 - Allow vertical splitting of screen (once?).
2164 7 When starting Vim several times, instanciate a Vim server, that allows
2165 communication between the different Vims. Feels like one Vim running with
2166 multiple top-level windows. Esp. useful when Vim is started from an IDE
2167 too. Requires some form of inter process communication.
2168 - Support a connection to an external viewer. Could call the viewer
2169 automatically after some seconds of non-activity, or with a command.
2170 Allow some way of reporting scrolling and cursor positioning in the viewer
2171 to Vim, so that the link between the viewed and edited text can be made.
2175 8 Add a command to jump to a mark and make the motion inclusive. g'm and g`m?
2176 8 Add mark at the last change. Per buffer. Could use "'.".
2177 8 Add a command to jump to next defined mark. (Rogers) See patch from
2178 Sieger. "]'" and "['"?
2179 8 When deleting lines, don't delete uppercase marks in them. Move the mark
2180 to the nearest line.
2181 8 The '" mark is set to the first line, even when doing ":next" a few times.
2182 Only set the '" mark when the cursor was really moved in a file.
2183 8 Make `` and '', which would position the new cursor position in the middle
2184 of the window, restore the old topline (or relative position) from when
2186 7 Make a list of file marks in a separate window. For listing all buffers,
2187 matching tags, errors, etc. Normal commands to move around. Add commands
2188 to jump to the mark (in current window or new window). Start it with
2190 7 For ":jumps", ":tags" and ":marks", for not loaded buffers, remember the
2191 text at the mark. Highlight the column with the mark.
2192 7 Highlight each mark in some way (With "Mark" highlight group).
2193 Or display marks in a separate column, like 'number' does.
2194 7 Use d"m to delete rectangular area from cursor to mark m (like Vile's \m
2196 7 Try to keep marks in the same position when:
2197 - replacing with a line break, like in ":s/pat/^M/", move marks after the
2198 line break column to the next line. (Acevedo)
2199 - filtering lines, try to keep the marks in the filtered lines. Need to
2200 move some marks if the number of lines decreases.
2201 - changing text, e.g. when formatting with "gq".
2202 - inserting/deleting characters in a line.
2203 5 Include marks for start/end of current word, sentence, paragraph, section.
2208 8 Make it possible to enter a digraph after "r" (with CTRL-K).
2209 Also for "f" and "t" movement commands?
2210 Need a flag in 'cpo' to switch it off, to enter CTRL-K directly.
2211 - Make it possible to enter "r<C-E>" and "r<C-Y>" (get character from line
2213 - Use digraph table to tell Vim about the collating sequence of special
2215 - Add command to remove (all) digraphs. (Brown)
2216 7 Make it possible to switch between DOS and ISO digraphs for Win32 GUI.
2220 9 is_dbcs is set globally, even though 'fileencoding' is local to a buffer.
2221 What if two buffers have different encoding?
2222 - Substitute doesn't work well on multibyte characters:
2223 ":s/\(.\)/\1\1/g" replaces each byte instead of each multi-byte.
2224 Requires regexp code that sees a multibyte character as one char.
2225 9 Include patch from Muraoka for multi-byte search patterns.
2226 9 Include some of Japanese multibyte patches: (Muraoka)
2227 ~/vim/patches/muraoka_gvim55_w32.tz
2228 8 Include some of the patches ~/vim/patches/muraoka2.diff.tgz (Muraoka)
2229 Find another solution for CSI from the GUI. Prepare for UTF-8.
2230 9 Check "gR" for proper working of backspacing.
2231 9 With Athena and Motif the status line overwrites a bottom scrollbar?
2232 9 The BROKEN_LOCALE check should be done at runtime, not at compile time.
2233 Helps when compiling on one machine and running on another.
2234 - When wrapping words, allow splitting at each multibyte character, not only
2235 at a space (with an option). (Nishioka)
2236 - Support full UTF8 format, also three to eight byte characters. Use a skip
2237 table (from Larry Wall). Example: mined. It contains code to detect UTF8
2238 and Latin-1 encoding.
2239 (www.inf.fu-berlin.de/~wolff/mined.html and mined-utf.html).
2240 Detect some encodings: FF FE: UCS-2 little endian, FE FF: UCS-2 big
2241 endian, FF FE 00 00: UCS-4 little endian, 00 00 FE FF: UCS-4 big endian,
2243 Use two (or more) fonts, to get the wide characters. (Cheong) How would
2244 this work in an xterm? Also check "kbd" setfont.
2245 How about showing the cursor in a double-width character?
2246 - Support "overstrike" characters. E.g., vowel points for Hebrew. (Aaron)
2247 - Check "yudit" for its Unicode handling. But its keyboard translation
2248 files are not powerful enough.
2249 - Use OTP files from Omega. http://www/ens.fr/omega/ (Vidal)
2250 Or use input software like xkinput.
2251 - use mblen or related functions to be more portable i18n (Nagano)
2252 - fileencoding option should be changed to be able to specify locale
2253 or machine dependent encoding information such as SJIS, EUC, etc. (Nagano)
2257 - In vim_rename(), should lock "from" file when deleting "to" file for
2258 systems other than Amiga. Avoids problems with unexpected longname to
2259 shortname conversion.
2260 8 When writing a file, name it "foo.new". Then rename "foo" to "foo.bak" and
2261 "foo.new" to "foo". If dir is not writable or on write error copy "foo" to
2262 "backupdir/foo.bak" and overwrite "foo". Check for correct group/owner and
2263 try to set it if not. NO: this breaks with hard links. INSTEAD: make Amiga
2264 and MSDOS work like unix: first make copy of file, then truncate and
2265 overwrite original file. Use an option for this, default on for Unix, off
2266 for Amiga/MSDOS (Sayre has the algorithm worked out).
2267 7 Support ACLs (Access Control Lists, Security Descriptor in WinNT). Check
2268 with Windows NT or HPUX 10.*? Add configure check for it, add code for
2269 when overwriting a file (viminfo or ":w" command) that copies the ACL to
2270 the new file. Use info from Maximo: GetNamedSecurityInfo and
2271 SetNamedSecurityInfo.
2272 8 When appending to a file, Vim should also make a backup and a 'patchmode'
2274 6 Add an option to write a new, numbered, backup file each time. Like
2275 'patchmode', e.g., 'backupmode'.
2276 6 Make it possible to write 'patchmode' files to a different directory.
2277 E.g., ":set patchmode=~/backups/*.orig". (Thomas)
2278 6 Add an option to prepend something to the backup file name. E.g., "#".
2279 Or maybe allow a function to modify the backup file name?
2280 8 Only make a backup when overwriting a file for the first time. Avoids
2281 loosing the original when writing twice. (Slootman)
2282 7 On non-Unix machines, also overwrite the original file in some situations
2283 (file system full, it's a link on an NFS partition).
2284 7 When editing a file, check that it has been change outside of Vim more
2285 often, not only when writing over it. E.g., at the time the swap file is
2286 flushed. Or every ten seconds or so (use the time of day, check it before
2287 waiting for a character to be typed).
2288 8 When a file was changed since editing started, show this in the status
2289 line of the window, like "[time]".
2290 Make it easier to reload all outdated files that don't have changes.
2291 Automatic and/or with a command.
2295 - :s///p prints the line after a substitution.
2296 - With :s///c replace \&, ~, etc. when showing the replacement pattern.
2297 8 With :s///c allow scrolling horizontally when 'nowrap' is effective.
2298 Also allow a count before the scrolling keys.
2299 - Add number option to ":s//2": replace second occurrence of string? Or:
2300 :s///N substitutes N times.
2301 - Add answers to ":substitute" with 'c' flag, used in a ":global", e.g.:
2302 ":g/pat1/s/pat2/pat3/cg": 'A' do all remaining replacements, 'Q' don't do
2304 7 Substitute in a block of text. Use {line}.{column} notation in an Ex
2305 range, e.g.: ":1.3,$.5s" means to substitute from line 1 column 3 to the
2310 8 Included jsbmouse support (Garth) ~/vim/patches/garth.jsbmouse .
2311 8 Move code common to jump_to_mouse() and get_fpos_of_mouse() together.
2312 8 Add 'mouse' flag, which sets a behavior like Visual mode, but automatic
2313 yanking at the button-up event. Or like Select mode, but typing gets you
2314 out of Select mode, instead of replacing the text. (Bhaskar)
2315 7 Checkout sysmouse() for FreeBSD console mouse support.
2316 - Implement mouse support for the Amiga console.
2317 - Using right mouse button to extend a blockwise selection should attach to
2318 the nearest corner of the rectangle (four possible corners).
2319 - Precede mouse click by a number to simulate double clicks?!?
2320 - When mouse click after 'r' command, get character that was pointed to.
2324 8 Also crypt the swapfile, each block separately. Change mf_write() and
2325 mf_read(). How to get b_p_key to these functions?
2326 8 Ask the key to be typed twice when crypting the first time. Otherwise a
2327 typo might cause the text to be lost forever.
2331 7 Make an argument list per window. ":argnew <file> .."?
2332 And/or: Add the possibility to use more than one argument list: ":arglist
2334 Would require commands to switch to another argument list too.
2335 6 Add command to add or remove files from the argument list. Useful when
2336 doing commands for all files in the argument list.
2337 ":argadd <file> .." and ":argdel <file> .."?
2338 6 Add command to put all filenames from the tag files in the argument list.
2339 When given an argument, only use the files where that argument matches
2340 (like `grep -l ident`) and jump to the first match.
2341 6 Add command to form an args list from all the buffers.
2342 7 Allow multiple arguments for ":edit", add them to the argument list.
2346 8 Don't display empty registers with ":display". (Etienne)
2347 - When appending to a register, also report the total resulting number of
2348 lines. Or just say "99 more lines yanked", add the "more".
2349 - When inserting a register in Insert mode with CTRL-R, don't insert comment
2350 leader when line wraps?
2351 - The ":@r" commands should take a range and execute the register for each
2353 - Add "P" command to insert contents of unnamed register, move selected text
2354 to position of previous deleted (to swap foo and bar in " + foo")
2355 8 Make "/ register writable. (Maxi)
2356 How to take care of the flags (offset, magic)?
2357 7 Add ! register, for shell commands. (patch from Grenie)
2360 Various improvements:
2361 8 Support printing on Unix. Can use "lpansi.c" as an example. (Bookout)
2362 8 Add put command that replaces the text under it. Esp. for blockwise
2364 6 Add 'extendex' option, to make Ex mode work like repeated use of ":",
2365 instead of the crippled Vi-compatible Ex mode. (Carlsson)
2366 ~/vim/patches/carlsson.exextend
2367 7 When 'whichwrap' contains "l", "$dl" should join lines?
2368 6 Include the ruby interface?
2369 7 Include some of the HierAssist changes? (Shah)
2370 7 Open a server socket (with an option for IP/port nr) to allow remote
2371 control. Optionally with a password to restrict access.
2372 Use the Simple Sockets Library? (Campbell)
2373 Same sample code (brent verner): http://linux1.org/misc/vim_socket.tar.bz2
2374 8 Include a connection to an external program through a pipe? See patches
2375 from Felbinger for a mathematica inteface.
2376 8 Enabling features is a mix of configure arguments and defines in
2377 feature.h. How to make this consistent? Feature.h is required for
2378 non-unix systems. Perhaps let configure define CONF_XXX, and use #ifdef
2379 CONF_XXX in feature.h? Then what should min-features and max-features do?
2380 8 Add "g^E" and "g^Y", to scroll a screen-full line up and down.
2381 6 Add ":timer" command, to set a command to be executed at a certain
2382 interval, or once after some time has elapsed. (Aaron)
2383 8 Add ":confirm" handling in open_exfile(), for when file already exists.
2384 8 Use confirm/dialog stuff to ask the user, when a file has changed outside
2385 of Vim, if he wants to reload it. Triggered when focus gained, after
2386 shell command, when entering another buffer, etc..
2387 Also do this when editing a new file, and another application creates
2388 the file before doing ":w" in Vim.
2389 Also check if the file protection has changed. When checking a file into
2390 RCS it is made read-only, when checking out it is made read-write.
2391 8 When quitting with changed files, make the dialog list the changed file
2392 and allow "write all", "discard all", "write some". The last one would
2393 then ask "write" or "discard" for each changed file. Patch in HierAssist
2394 does something like this. (Shah)
2395 7 Use growarray for replace stack.
2396 7 Have a look at viH (Hellenic or Greek version of Vim). But a solution
2397 outside of Vim might be satisfactory (Haritsis).
2398 6 Allow a local doc directory? And syntax, tools, macros...? Use 'vimpath'
2399 option: list of directories which are used instead of $VIM.
2400 3 Make "2d%" work like "d%d%" instead of "d2%"?
2401 8 Make "more" prompt accept command characters, like "hit-return" prompt?
2402 Or extend it with more commands, like "less": 'b' for back, 'j' for one
2404 8 For the "--more--" prompt, support the 'b'ack command for more commands.
2405 7 "g CTRL-O" jumps back to last used buffer. Skip CTRL-O jumps in the same
2406 buffer. Make jumplist remember the last ten accessed buffers?
2407 7 Add a history of recently accessed buffer. Maybe make "2 CTRL-^" jump to
2408 the 2nd previously visited buffer, "3 CTRL-^" to the third, etc. Or use
2409 "3 g CTRL-^" for this?
2410 5 Add an option to set the width of the 'number' column. Eight positions is
2411 often more than needed.
2412 - Add code to disable the CAPS key when going from Insert to Normal mode.
2413 8 Add the possibility to have scratch buffers. They don't have a swap file.
2414 The name is not related to a file. Useful for the file selection macros.
2415 Set 'buftype' option to "scratch"?
2416 - Set date/protection/etc. of the patchfile the same as the original file.
2417 - Use growarray for termcodes[] in term.c
2418 - Use getrlimit() (if possible) to set 'maxmemtot' and 'maxmem'.
2419 - Add <window-99>, like <cword> but use filename of 99'th window.
2420 - Should make it possible for ml_get() to keep more than one line locked.
2421 Use ml_get_locked()? Needed to be able to make a regexp that understands
2423 - Make a set of operations on list of names: expand wildcards, replace home
2424 dir, append a string, delete a string, etc.
2425 - Remove mktemp() and use tmpname() only? Ctags does this.
2426 - When replacing environment variables, and there is one that is not set,
2427 turn it into an empty string? Only when expanding options? (Hiebert)
2428 - Option to set command to be executed instead of producing a beep (e.g. to
2429 call "play newbeep.au").
2430 - Add option to show the current function name in the status line. More or
2431 less what you find with "[[k", like how 'cindent' recognizes a function.
2433 - "[r" and "]r": like "p" and "P", but replace instead of insert (esp. for
2434 blockwise registers).
2435 - Add 'timecheck' option, on by default. Makes it possible to switch off the
2436 timestamp warning and question. (Dodt).
2437 - Add an option to set the time after which Vim should check the timestamps
2438 of the files. Only check when an event occurs (e.g., character typed,
2439 mouse moved). Useful for non-GUI versions where keyboard focus isn't
2441 9 When using ":w <fname>" it's possible that this file is loaded in another
2442 buffer. Give a warning right away, don't wait for a shell command.
2443 - Add ":first", ":bfirst", etc. to complement ":last", ":blast, etc.
2444 - Make 'smartcase' work even though 'ic' isn't set (Webb).
2445 7 When formatting text, allow to break the line at a number of characters.
2446 Use an option for this: 'breakchars'? Useful for formatting Fortran code.
2447 - Add flag to 'formatoptions' to be able to format book-style paragraphs
2448 (first line of paragraph has larger indent, no empty lines between
2449 paragraphs). Complements the '2' flag. Use '>' flag when larger indent
2450 starts a new paragraph, use '<' flag when smaller indent starts a new
2451 paragraph. Both start a new paragraph on any indent change.
2452 8 Allow using a trailing space to signal a paragraph that continues on the
2453 next line. Can be used for continuous formatting. Could use 'autoformat'
2454 option, which specifies a regexp which triggers auto-formatting (for one
2455 line). ":set autoformat=\\s$".
2456 - Be able to redefine where a sentence stops. Use a regexp pattern?
2457 - Be able to redefine where a paragraph starts. For "[[" where the '{' is
2459 8 Add $CDPATH patch from Raf? Change it a little: Add 'cdpath' option,
2460 which is filled from $CDPATH. "." is dir of current file, "" is current
2461 directory. Suggestion in docs to change it when it's wrong:
2462 let &cdpath=substitute(substitute($CDPATH,',','\\,','g'),':',',','g')
2463 8 Use a current directory per window? See patches from Chen. Does a
2464 "chdir" when switching to another window. ":lcd" and ":lchdir" only work
2465 for the current window, ":cd" for all windows.
2466 Check: How do we know if a window uses the global dir or its own?
2467 Optional: Make the current directory equal to the file that is currently
2469 8 ":cd": echo the new current directory.
2470 6 Add ":cdprev": go back to the previous directory. Need to remember a
2471 stack of previous directories. We also need ":cdnext".
2472 7 Should ":cd" for MS-DOS go to $HOME, when it's defined?
2473 - Make "gq<CR>" work on the last line in the file. Maybe for every operator?
2474 8 findmatchlimit() should be able to skip comments. Solves problem of
2475 matching the '{' in /* if (foo) { */ (Fiveash)
2476 - findmatch() should be adjusted for Lisp. See remark at get_lisp_indent().
2477 - Add more redirecting of Ex commands:
2478 :redir @> register (append)
2480 :redir #> bufname (append)
2482 :redir => variable (append)
2483 - Setting of options, specifically for a buffer or window, with
2484 ":set window.option" or ":set buffer.option=val". Or use ":buffer.set".
2485 Also: "buffer.map <F1> quit".
2486 - Add :delcr command:
2488 :[range]delcr[!] Check [range] lines (default: whole buffer) for lines
2489 ending in <CR>. If all lines end in <CR>, or [!] is
2490 used, remove the <CR> at the end of lines in [range].
2491 A CTRL-Z at the end of the file is removed. If
2492 [range] is omitted, or it is the whole file, and all
2493 lines end in <CR> 'textmode' is set. {not in Vi}
2494 - Should integrate addstar() and file_pat_to_reg_pat().
2495 - When working over a serial line with 7 bit characters, remove meta
2496 characters from 'isprint'.
2497 - Use fchdir() in init_homedir(), like in FullName().
2498 - In win_update(), when the GUI is active, always use the scrolling area.
2499 Avoid that the last status line is deleted and needs to be redrawn.
2500 - That "cTx" fails when the cursor is just after 'x' is Vi compatible, but
2501 may not be what you expect. Add a flag in 'cpoptions' for this? More
2502 general: Add an option to allow "c" to work with a null motion.
2503 - Give better error messages by using errno (strerror()).
2504 - Give "Usage:" error message when command used with wrong arguments (like
2506 - Make 'restorescreen' option also work for xterm (and others), replaces the
2507 SAVE_XTERM_SCREEN define.
2508 7 Support for ":winpos" In xterm: report the current window position.
2509 - Give warning message when using ":set t_xx=asdf" for a termcap code that
2510 Vim doesn't know about. Add flag in 'shortmess'?
2511 6 Add ":che <file>", list all the include paths which lead to this file.
2512 - For a commandline that has several commands (:s, :d, etc.) summarize the
2513 changes all together instead of for each command (e.g. for the rot13
2515 8 Allow something in 'include' or 'path' to automatically add a file name
2516 extension. For languages that use "include file" to include "file.ext".
2517 See ~/vim/patches/scott.includesuffix (Scott)
2518 - Add command like "[I" that also shows the tree of included files.
2519 - Add command like ":ts" that shows the output of "[I" and asks for a match
2520 to jump to. (Zellner)
2521 - ":set sm^L" results in ":set s", because short names of options are also
2522 expanded. Is there a better way to do this?
2523 - Add ":@!" command, to ":@" like what ":source!" is to ":source".
2524 8 Add ":@:!": repeat last command with forceit set.
2525 - Should be possible to write to a device, e.g. ":w! /dev/null".
2526 - Add 't_normal': Used whenever t_me, t_se, t_ue or t_Zr is empty.
2527 - ":cab map test ^V| je", ":cunab map" doesn't work. This is vi compatible!
2528 - CTRL-W CTRL-E and CTRL-W CTRL-Y should move the current window up or down
2529 if it is not the first or last window.
2530 - Include-file-search commands should look in the loaded buffer of a file (if
2531 there is one) instead of the file itself.
2532 - "g CTRL-A" and "g CTRL-X": Increment/decrement alphabetical char
2533 (a -> b -> c)? With flag in 'nrformats'?
2534 7 Change 'nrformats' to include the leader for each format. Example:
2535 nrformats=hex:$,binary:b,octal:0
2536 Add setting of 'nrformats' to syntax files.
2537 - 'path' can become very long, don't use NameBuff for expansion.
2538 - Allow the use of wildcards in 'path'.
2539 - When unhiding a hidden buffer, put the same line at top of the window as
2540 the one before hiding it. Or: keep the same relative cursor position (so
2541 many percent down the windows).
2542 - Make it possible for the 'showbreak' to be displayed at the end of the
2543 line. Use a comma to separate the part at the end and the start of the
2544 line? Highlight the linebreak characters, add flag in 'highlight'.
2545 - Some string options should be expanded if they have wildcards, e.g.
2546 'dictionary' when it is "*.h".
2547 - Use a specific type for number and boolean options, making it possible to
2548 change it for specific machines (e.g. when a long is 64 bit).
2549 - Add option for <Insert> in replace mode going to normal mode. (Nugent)
2550 - Add a next/previous possibility to "[^I" and friends.
2551 - Add possibility to change the HOME directory. Use the directory from the
2552 passwd file? (Antwerpen)
2553 - When doing "[^I" or "[^D" add position to tag stack.
2554 - Add command to put current position to tag stack: ":tpush".
2555 8 Add commands to push and pop all or individual options. ":setpush tw",
2556 ":setpop tw", ":setpush all". Maybe pushing/popping all options is
2557 sufficient. ":setflush" resets the option stack?
2558 How to handle an aborted mapping? Remember position in tag stack when
2559 mapping starts, restore it when an error aborts the mapping?
2560 - Use a builtin grep command for ":grep"? Makes it possible to add the
2562 - Keep a list of most recently used files for each window, use "[o" to go
2563 back (older file) and "]n" to go forward (newer file) (like ^O and ^I for
2564 jumps) (Webb). Use ":files" and ":ls" to list the files in history order.
2565 - Change ":fixdel" into option 'fixdel', t_del will be adjusted each time
2567 - "gc": goto character, move absolute character positions forward, also
2568 counting newlines. "gC" goes backwards (Weigert).
2569 - When doing CTRL-^, redraw buffer with the same topline (Demirel). Store
2570 cursor row and window height to redraw cursor at same percentage of window
2572 - Besides remembering the last used line number of a file, also remember the
2573 column. Use it with CTRL-^ et. al.
2574 - When a window resizes, the line with the cursor should stay at the same
2575 percentage from the start of the window as it was before.
2576 - Check for non-digits when setting a number option (careful when entering
2577 hex codes like 0xff).
2578 - Add option to make "." redo the "@r" command, instead of the last command
2579 executed by it. Also to make "." redo the whole mapping. Basically: redo
2580 the last TYPED command.
2581 - Support URL links for ^X^F in Insert mode, like for "gf".
2582 - Add 'wwwpath', used like 'path' for when "gf" used on an URL?
2583 - When finding an URL or file name, and it doesn't exist, try removing a
2585 - Add ":path" command modifier. Should work for every command that takes a
2586 file name argument, to search for the file name in 'path'. Use
2587 find_file_in_path().
2588 - Highlight control characters on the screen: Shows the difference between
2589 CTRL-X and "^" followed by "X" (Colon).
2590 - Integrate parsing of cmdline command and parsing for expansion.
2591 - Create a program that can translate a .swp file from any machine into a
2592 form usable by Vim on the current machine.
2593 - Add ":noro" command: Reset 'ro' flag for all buffers, except ones that have
2594 a readonly file. ":noro!" will reset all 'ro' flags.
2595 - Add a variant of CTRL-V that stops interpretation of more than one
2596 character. For entering mappings on the command line where a key contains
2597 several special characters, e.g. a trailing newline.
2598 - Add regex for 'paragraphs' and 'sections': 'parare' and 'sectre'. Combine
2599 the two into a regex for searching. (Ned Konz)
2600 - Make '2' option in 'formatoptions' also work inside comments.
2601 - Add 's' flag to 'formatoptions': Do not break when inside a string. (Dodt)
2602 - Add flag to 'formatoptions' to recognize the change of indent as the start
2603 of a new paragraph (for paragraphs without separating empty line, but extra
2604 indent for the new paragraph) (Leitner).
2605 - When window size changed (with the mouse) and made too small, set it back
2606 to the minimal size.
2607 - Add "]>" and "[<", shift comment at end of line (command; /* comment */).
2608 - Should not call cursorcmd() for each vgetc() in getcmdline().
2609 - Add the ex address '}', next empty line (like the "}" command).
2610 - ":split file1 file2" adds two more windows (Webb).
2611 - Don't give message "Incomplete last line" when editing binary file.
2612 - Add ":a", ":i" for preloading of named buffers.
2613 - Allow autowrite when doing ":e file" (with an option 'eaw').
2614 - Allow a "+command" argument before each file name in the Vim command line:
2615 "vim +123 file1 +234 file2 +345 file3". ???
2616 - When entering text, keep other windows on same buffer updated (when a line
2618 - Check out how screen does output optimizing. Apparently this is possible
2619 as an output filter.
2620 - When setting the window title, check 'hs' and use minimum of 'ws' (if
2621 present) and Columns to truncate the title.
2622 - In dosub() regexec is called twice for the same line. Try to avoid this.
2623 - Window updating from memline.c: insert/delete/replace line.
2624 - Optimize ml_append() for speed, esp. for reading a file.
2625 - V..c should keep indent when 'ai' is set, just like [count]cc.
2626 - Updatescript() can be done faster with a string instead of a char.
2627 - Screen updating is inefficient with CTRL-F and CTRL-B when there are long
2629 - Uppercase characters in ex commands can be made lowercase?
2630 - Add word count to "g CTRL-G".
2631 8 Add option to show characters in text not as "|A" but as decimal ("^129"),
2632 hex ("\x81") or octal ("\201") or meta (M-x). Nvi has the 'octal' option
2633 to switch from hex to octal. Vile can show unprintable characters in hex
2635 7 Tighter integration with xxd to edit binary files. Make it more
2636 easy/obvious to use. Command line argument?
2637 - How does vi detect whether a filter has messed up the screen? Check source.
2638 After ":w !command" a wait_return?
2639 - Improve screen updating code for doput() (use s_ins()).
2640 - With 'p' command on last line: scroll screen up (also for terminals without
2641 insert line command).
2642 - Use insert/delete char when terminal supports it.
2643 - Optimize screen redraw for slow terminals.
2644 - Optimize "dw" for long row of spaces (say, 30000).
2645 - Add "-d null" for editing from a script file without displaying.
2646 - In Insert mode: Remember the characters that were removed with backspace
2647 and re-insert them one at a time with <key1>, all together with <key2>.
2648 - Amiga: Add possibility to set a keymap. The code in amiga.c does not work
2650 - Implement 'redraw' option.
2651 - Add special code to 'sections' option to define something else but '{' or
2652 '}' as the start of a section (e.g. one shiftwidth to the right).
2653 - Add 'indent' option: Always use this amount of indent when starting a new
2654 line and when formatting text.
2655 - Use pipes for filtering on Unix.
2656 7 Allow using Vim in a pipe: "ls | vim -u xxx.vim - | yyy". Only needs
2657 implementing ":w" to stdout in the buffer that was read from stdin.
2658 8 Allow opening an unnamed buffer with ":e !cmd" and ":sp !cmd". Vile can
2660 - Allow for +command and -option on any position in argv[].
2661 - Add commands like ]] and [[ that do not include the line jumped to.
2662 - When :unab without matching "from" part and several matching "to" parts,
2663 delete the entry that was used last, instead of the first in the list.
2664 - Add text justification option.
2665 - Set boolean options on/off with ":set paste=off", ":set paste=on".
2666 - After "inv"ing an option show the value: ":set invpaste" gives "paste is
2668 - Check handling of CTRL-V and '\' for ":" commands that do not have TRLBAR.
2669 - When a file cannot be opened but does exist, give error message.
2670 - Amiga: When 'r' protection bit is not set, file can still be opened but
2671 gives read errors. Check protection before opening.
2672 - When writing check for file exists but no permission, "Permission denied".
2673 - If file does not exists, check if directory exists.
2674 - MSDOS: although t_cv and t_ci are not set, do invert char under cursor.
2675 - Settings edit mode: make file with ":set opt=xx", edit it, parse it as ex
2677 - ":set -w all": list one option per line.
2678 - Amiga: test for 'w' flag when reading a file.
2679 - :table command (Webb)
2680 - Add command to go to last non-blank in line (like 0 vs. ^, $ vs. ???)
2681 - Add new operator: clear, make area white (replace with spaces): "g ".
2682 - Make it possible for a user to define a new operator. Implementation with
2683 internal scripting language or Perl?
2684 - Add command to ":read" a file at a certain column (blockwise read?).
2685 - Add 'resizecmd' option: vi command to be executed when window is resized.
2686 - Add sort of replace mode where case is taken from the old text (Goldfarb).
2687 - Allow multiple arguments for ":read", read all the files.
2688 - Support for tabs in specific columns: ":set tabcol=8,20,34,56" (Demirel).
2689 - Add 'searchdir' option: Directories to search for file name being edited
2691 - Modifier for the put command: Change to linewise, charwise, blockwise, etc.
2692 - Add commands for saving and restoring options ":set save" "set restore",
2693 for use in macro's and the like.
2694 - Keep output from listings in a window, so you can have a look at it while
2695 working in another window. Put cmdline in a separate window?
2696 - Add possibility to put output of ex commands in a buffer or file, e.g. for
2697 ":set all". ":r :set all"?
2698 - 'edit' option: When off changing the buffer is not possible (Really
2700 - When the 'equalalways' option is set, creating a new window should not
2701 result in windows to become bigger. Deleting a window should not result in
2702 a window to become smaller (Webb).
2703 - When resizing the whole Vim window, the windows inside should be resized
2704 proportionally (Webb).
2705 - Include options directly in option table, no indirect pointers. Use
2706 mkopttab to make option table?
2707 - When doing ":w dir", where "dir" is a directory name, write the current
2708 file into that directory, with the current file name (without the path)?
2709 - Support for 'dictionary's that are sorted, makes access a lot faster
2711 - Add "^Vrx" on the command line, replace with contents of register x. Used
2712 instead of CTRL-R to make repeating possible. (Marinichev)
2713 - Add "^Vb" on the command line, replace with word before or under the
2715 - Option to make a .swp file only when a change is made (Templeton).
2716 - Support mapping for replace mode and "r" command (Vi doesn't do this)?
2717 - In an Ex range, use '{ for start of paragraph, '} for end of paragraph,
2718 '(, '), etc.? See patches from Brugnara. Use "=p" for current paragraph.
2719 5 Add 'ignorefilecase' option: Ignore case when expanding file names.
2720 ":e ma<Tab>" would also find "Makefile" on Unix.
2724 - Use "instman.sh" to install manpages?
2725 - Add ":alias" command.
2726 - fontchanges recognized "\\fB" etc.
2728 \= match empty string, leave cursor here.
2729 \@ match word under cursor.
2731 \@ leave the cursor "at" this position
2732 \w match the word under the cursor?
2733 \W match the WORD under the cursor?
2734 8 ":window" command:
2735 :win + next window (up)
2736 :win ++ idem, wrapping
2737 :win - previous window (down)
2738 :win -- idem, wrapping
2739 :win nr to window number "nr"
2740 :win name to window editing buffer "name"
2741 7 ":cc" compiles a single file (default: current one). 'ccprg' option is
2742 program to use with ":cc". Use ":compile" instead of ":cc"?
2747 - 'searchincr' option, alias for 'incsearch'?
2748 - 'leftright' option, alias for 'nowrap'?
2749 - Have a look at "vi/doc/vi.chart", for Nvi specialities.
2750 8 Add 'keytime', time in 1/10 sec for mapping timeout?
2751 - Add 'filec' option as an alternative for 'wildchar'.
2752 8 Lock a file when starting to edit it with flock() or fcntl(). Also see
2753 patch from Kahn: ~/vim/patches/kahn_file_locking .
2754 6 Support Nvi command names as an alias:
2756 :fg fname :buf fname (with 'hidden' set?)
2758 :Edit fname :split fname
2759 :Fg fname :sbuf fname (with 'hidden' set?)
2760 :Next :snext (can't do this, already use :Next)
2761 :Previous :sprevious
2766 - Use '\' before commands to make them linewise.
2770 - CTRL-_ : swap 8th bit of character.
2771 - Add egrep-like regex type, like xvi (Ned Konz) or Perl (Emmanuel Mogenet)
2775 - When horizontal scrolling, use '<' and '>' for lines continuing outside of
2777 - Support putting .swp files in /tmp: Command in rc.local to move .swp files
2778 from /tmp to some directory before deleting files.
2781 Far future and "big" extentions:
2782 - Make it possible to run Vim inside a window of another program. For
2783 Xwindows this can be done with XReparentWindow().
2784 - Make it easy to setup Vim for groups of users: novice vi users, novice
2785 Vim users, C programmers, xterm users, GUI users,...
2786 - Add a mode to only view text. Like Less, but with syntax highlighting
2788 - Add some way to display manpages, with tags highlighted to jump to
2789 locations in the same or other manpages. Requires generating a tags file
2791 - Change layout of blocks in swap file: Text at the start, with '\n' in
2792 between lines (just load the file without changes, except for Mac).
2793 Indexes for lines are from the end of the block backwards. It's the
2794 current layout mirrored.
2795 - Make it possible to edit a register, in a window, like a buffer.
2796 - Add stuff to syntax highlighting to change the text (upper-case keywords,
2797 set indent, define other highlighting, etc.).
2798 - Mode to keep C-code formatted all the time (sort of on-line indent).
2799 - Several top-level windows in one Vim session. Be able to use a different
2800 font in each top-level window.
2801 - Allow editing beyond end of line, just like there are all spaces. Switch
2802 this on with an option or special Insert mode command. Also allow editing
2803 above start and below end of buffer.
2804 - Smart cut/paste: recognize words and adjust spaces before/after them.
2805 - Mode to keep text formatted while inserting/deleting. Use soft/hard
2806 returns with an option to switch this off. (CR-LF can be used for Unix as
2808 - Add column numbers to ":" commands ":line1,line2[col1,col2]cmd". Block
2809 can be selected with CTRL-V. Allow '$' (end of line) for col2.
2810 - Add open mode, use it when terminal has no cursor positioning.
2811 - Special "drawing mode": a line is drawn where the cursor is moved to.
2812 Backspace deletes along the line (from jvim).
2813 - Perform commands on multiple windows (:W%s/foo/bar/g), multiple arguments
2814 (:A) or multiple buffers (:B). Implement ":Bset", set option in all
2815 buffers. Also ":Wset", set in all windows, ":Aset, set in all arguments
2816 and ":Tset", set in all files mentioned in the tags file. Add buffer/arg
2817 range, like in ":2,5B%s/..." (do we really need this???) Add search
2818 string: "B/*.c/%s/.."? Or ":F/*.c/%s/.."?
2819 - Support for underlining (underscore-BS-char), bold (char-BS-char) and other
2820 standout modes switched on/off with , 'overstrike' option (Reiter).
2821 - Add vertical mode (Paul Jury, Demirel): "5vdw" deletes a word in five
2822 lines, "3vitextESC" will insert "text" in three lines, etc..
2823 4 Recognize l, #, p as 'flags' to EX commands:
2824 :g/RE/#l shall print lines with line numbers and in list format.
2825 :g/RE/dp shall print lines that are deleted.
2826 POSIX: Commands where flags shall apply to all lines written: list,
2827 number, open, print, substitute, visual, &, z. For other commands, flags
2828 shall apply to the current line after the command completes. Examples:
2829 :7,10j #l Join the lines 7-10 and print the result in list
2831 -------------------- *votes-for-changes* -----------------------
2833 In November 1998 an inquiry was held to allow Vim users to vote for changes to
2834 Vim. Each person was allowed to give 10 positive and 5 negative points to a
2835 list of items. Below is the result. This indicates the desire of users for
2836 certain changes. This will be taken into account when deciding what to do
2837 next from the huge list above.
2839 The first number is the total number of votes. The number in brackets is the
2840 portion of the total which were negative points.
2842 317 (-5) add folding (display only a selected part of the text)
2843 252 (-10) vertically split windows (side-by-side)
2844 197 (-3) add configurable auto-indenting for many languages (like 'cindent')
2845 183 (-5) fix all problems, big and small; make Vim more robust
2846 155 (-8) add Perl compatible search pattern
2847 125 (-1) search patterns that cross line boundaries
2848 125 (-1) improve syntax highlighting speed
2849 116 improve syntax highlighting functionality
2850 101 add a menu that lists all buffers
2851 93 (-1) improve the overall performance
2852 93 (-6) multiple top-level windows for one running Vim
2853 90 (-4) be able to edit the command line with Vi commands
2854 90 (-36) add a shell window (to type and execute shell commands in)
2855 83 add patterns to define sections/paragraphs for "{", "[[", "%", etc.
2856 81 improve Visual block mode: more commands that work on blocks
2857 71 (-13) reduce the size of the executable and the runtime memory use
2858 70 (-5) improve the on-line help
2859 68 improve "gq" formatting of text (left&right justified, 'comments')
2860 68 (-2) improve multi-byte character support
2861 59 (-8) improve the Visual Studio interface (VisVim)
2862 59 (-12) make it possible to run Vim inside a window of another program
2863 58 (-11) add an undo tree (be able to go back to any previous situation)
2864 57 (-9) add support for loading a shared library that defines new commands
2865 54 (-1) add a way to execute a command in multiple buffers/windows
2866 52 improve the Perl interface
2867 51 (-10) improve printing from gvim (File.Print menu entry)
2868 50 (-20) make a "Vim lite" version, which is small and low on features
2869 47 add a method to repeat a prev. executed change ("c.", "d.", etc.)
2870 44 (-8) add more features to the internal scripting language
2871 37 add a command to repeat a whole mapping (not only its last change)
2872 37 (-2) add better support for editing files in projects (with ID utils)
2873 33 (-3) add handling for buffer-changed outside of Vim (when reg. focus)
2874 28 improve Insert mode completion
2875 28 (-14) add persistent undo (undo to before the file was saved/loaded)
2876 25 improve command line completion
2877 23 (-30) be able to run a program in a Vim window, with an interface to it
2878 22 improve the quickfix commands
2879 21 (-1) add mappings and abbreviations local to a buffer
2880 21 (-6) add a special window for editing option values, with short docs
2881 19 (-4) add file locking
2882 18 (-1) add a way to disable (error) messages for a moment
2883 17 (-5) add encryption for loading/storing files and for the swapfile
2884 10 improve the port for MacOS X Server aka Rhapsody
2886 10 (-1) add scope arguments to the ":tag" command (like Elvis)
2887 9 (-3) improve the tutor (course for beginners)
2888 8 improve the port for OS/2
2889 8 (-1) add a stack for saving/restoring options
2890 8 (-3) improve 'viminfo' (keeping information when quitting Vim)
2891 8 (-6) improve the performance of Vim scripts (pre-parse them)
2892 7 (-2) add more autocommand events (for ":cd", start Insert mode, etc.)
2893 6 (-4) improve the TCL interface
2894 6 (-4) add option to move the cursor where there is no text in Visual mode
2895 5 improve the port for MacOS
2896 4 improve the port for GTK
2897 4 add Diff, Merge capability with CVS like in emacs.
2898 4 (-5) add option not to move the cursor when using a scrollbar
2899 4 (-8) add POSIX compatible search patterns
2900 3 improve the port for X Window (use GTK, or Athena)
2901 3 (-2) improve the Cscope interface
2902 3 (-14) add option to move the cursor where there is no text in any mode
2903 2 add support for Borland Delphi (to replace borland's def. editor)
2904 2 add on-the-fly paragraph formatting / word wraps
2905 1 improve the port for "EPOC 32"
2906 1 add GUI to record/stop/play a keystroke macro
2907 0 (-2) improve ":mksession" support (switch to a previously saved state)
2908 -1 (-1) improve the port for * (fill in a system name at the *. E.g. VMS")
2909 -4 (-77) add more GUI functions (requesters, menus, dialogs)
2910 -10 (-14) add "open" mode, like the original Vi
2911 -10 (-15) improve the OLE interface
2912 -10 (-17) improve compatibility of the Ex mode
2913 -12 (-89) add on-the-fly spell checking
2914 -13 (-24) reduce the size of the distribution (harddisk usage)
2915 -13 (-32) improve Vi compatibility
2916 -25 (-38) add a lot of small features, instead of a few big ones
2917 -47 (-53) improve the 16 bit DOS version (avoid out-of-memory problems)
2918 -81 (-123) improve gvim to fit in the MS-Windows look&feel (with an option)
2919 -110 (-136) stop changing Vim, it's fine as it is
2920 -117 (-122) remove functionality, there is too much of it
2922 vim:tw=78:sw=4:ts=4:
2923 vim:comments=fb\:9,fb\:8,fb\:7,fb\:6,fb\:5,fb\:4,fb\:3,fb\:2,fb\:1,fb\:-,fb\:9q,fb\:8q,fb\:7q,fb\:6q,fb\:5q,fb\:4q,fb\:3q,fb\:2q,fb\:1q,fb\:9s,fb\:8s,fb\:7s,fb\:6s,fb\:5s,fb\:4s,fb\:3s,fb\:2s,fb\:1s,fb\:9l,fb\:8l,fb\:7l,fb\:6l,fb\:5l,fb\:4l,fb\:3l,fb\:2l,fb\:1l,fb\:9w,fb\:8w,fb\:7w,fb\:6w,fb\:5w,fb\:4w,fb\:3w,fb\:2w,fb\:1w,fb\:9b,fb\:8b,fb\:7b,fb\:6b,fb\:5b,fb\:4b,fb\:3b,fb\:2b,fb\:1b,fb\:9m,fb\:8m,fb\:7m,fb\:6m,fb\:5m,fb\:4m,fb\:3m,fb\:2m,fb\:1m,fb\:9?,fb\:8?,fb\:7?,fb\:6?,fb\:5?,fb\:4?,fb\:3?,fb\:2?,fb\:1?