📄 todo.txt
字号:
*todo.txt* For Vim version 5.8. Last change: 2001 May 31 VIM REFERENCE MANUAL by Bram Moolenaar TODO list for Vim *todo*This is a veeeery long list of known bugs, current work, and desiredimprovements. To make it a little bit accessible, the items are grouped bysubject. In the first column of the line a classification is used to be ableto look for "the next thing to do":Priority classification:9 next point release8 next release7 as soon as possible6 soon5 should be included4 nice to have3 consider including2 maybe not1 probably not- unclassifiedVim 5.8 is in the stable branch. No new features are added, only seriousproblems will be fixed.Vim 6.0 is the unstable branch. Many new features which need to be tested.See |votes-for-changes| for a list of votes on desired changes in Vim.See |develop.txt| for development plans. *known-bugs*-------------------- Known bugs and current work -----------------------The DOS runtime archive doesn't fit on a floppy.Vi incompatibility:8 With undo/redo only marks in the changed lines should be changed. Other marks should be kept. Vi keeps each mark at the same text, even when it is deleted or restored. (Webb) Also: A mark is lost after: make change, undo, redo and undo. Example: "{d''" then "u" then "d''": deletes an extra line, because the '' position is one line down. (Veselinovic)8 When using ":s" to split a line, marks are moved to the next line. (Geddes)8 When using ":n" ":rew", the prev. context mark is in the same place as the cursor, not on the first line.8 "zt" should scroll one screen forward and put the cursor in the first line.8 ":z#" should list lines with line numbers. (Bob Farmer)8 text is put in register 1 when using "c" and "d" with a motion character: <control-A> % ( ) `<character> / ? N n { } (from Nvi manual).8 When stdin is not a tty, and Vim reads commands from it, an error should make Vim exit.8 Unix Vim (not gvim): Typing CTRL-C in Ex mode should finish the line (currently you can continue typing, but it's truncated later anyway).8 When loading a file in the .exrc, Vi loads the argument anyway. Vim skips loading the argument if there is a file already. When no file argument given, Vi starts with an empty buffer, Vim keeps the loaded file. (Bearded)8 In Insert mode, when using <BS> or <Del>, don't wipe out the text, but only move back the cursor. Behaves like '$' in 'cpoptions'. Use a flag in 'cpoptions' to switch this on/off.8 When editing a file which is a symbolic link, Vim opens another symbolic link on the same file under the name of the first one. Adjust the file name in the buffer to the last one used? Use several file names in one buffer???7 The ":map" command output overwrites the command. Perhaps it should keep the ":map" when it's used without arguments?7 When interrupting reading a file, Vi considers the buffer modified. Add a 'cpoptions' flag for this (we don't want it modified always to be able to do ":q")?7 CTRL-L is not the end of a section? It is for Posix! Make it an option.7 Implement 'prompt' option. Init to off when stdin is not a tty.7 CTRL-T in Insert mode inserts 'shiftwidth' of spaces at the cursor. Add a flag in 'cpoptions' for this.7 Add a way to send an email for a crashed edit session. Create a file when making changes (containing name of the swap file), delete it when writing the file. Supply a program that can check for crashed sessions (either all, for a system startup, or for one user, for in a .login file).7 Vi doesn't do autoindenting when input is not from a tty (in Ex mode).7 "z3<CR>" should still use the whole window, but only redisplay 3 lines.7 ":tag xx" should move the cursor to the first non-blank. Or should it go to the match with the tag? Option?7 Implement 'autoprint'/'ap' option.7 Add flag in 'cpoptions' that makes <BS> after a count work like <Del> (Sayre).7 Add flag in 'cpoptions' that makes operator (yank, filter) not move the cursor, at least when canceled. (default vi compatible).7 Make "5dd" on last-but-one-line not delete anything (Vi compatible). Add flag in 'cpoptions' for this. When not present, "2dd" in the last line should delete the last line.7 This Vi-trick doesn't work: "Q" to go to Ex mode, then "g/pattern/visual". In Vi you can edit in visual mode, and when doing "Q" you jump to the next match. Nvi can do it too.7 Support '\' for line continuation in Ex mode for these commands: (Luebking) g/./a\ g/pattern1/ s/pattern2/rep1\\ line 1\ line 2\\ line 2\ line 3\\ . line4/6 ":e /tmp/$tty" doesn't work. ":e $uid" does. Is $tty not set because of the way the shell is started?6 After ":cd", meaning of file names for existing buffers changes. Do we care?6 Vi compatibility (optional): make "ia<CR><ESC>10." do the same strange thing. (only repeat insert for the first line).GTK+ GUI known bugs:9 When logging out from KDE, vim is not told to save its files. Catching the WM_SAVE_YOURSELF event doesn't work.8 For some fonts characters are drawn in the line above. Include fix ~/vim/patches/dalecki-5.6 . (Marcin Dalecki)9 When selecting a font from the font selector with an embedded space it cannot be found. (Tsirkin)8 When a font is not fixed width, the message "not fixed-width" disappears immediately. (Tsirkin)8 Move gtk_main_quit() calls from call to add_to_input_buf() to inside the function?9 GTK GUI: Include changes in gtklayout.c since GTK 1.1.6 in gui_gtk_f.c? (Kahn)9 Can't paste a Visual selection from GTK-gvim to vim in xterm when it is longer than 4000 characters. Works OK from gvim to gvim and vim to vim. This is a GTK problem.9 With some fonts the characters can be taller than ascent + descent. E.g., "-misc-fixed-*-*-*-*-18-*-*-*-*-*-iso10646-1". Add one to the character cell height? (Dalecki)9 With the guifont "-*-clean-medium-r-*-*-8-*-*-*-*-80-*" bold characters are drawn wrong. Try on C source code. The bold font is wider than the medium font. Check bold font cellsize and use bold font trick if it's wrong?8 When using "gvim -geom 40x30" or setting 'columns' in .gvimrc or with a GUIEnter autocommand, the width is still set to fit the toolbar. Also happens when changing the font. How to avoid that the toolbar specifies the minimal window width?8 Implement "no" value for 'winaltkeys': don't use Alt-Key as a menu shortcut, when 'wak' changed after creating the menus.8 Dialogs sometimes appear a bit far away. Apply a patch from Brent Verner to position the dialogs on top of the gvim window (Jul 1999)? Check that it still works for focus-follows-mouse.8 When "cm" termcap entry is missing, starting gvim shouldn't complain about it. (Lohner) Try out with "vt100" entry (cm replaced with cX).Win32 GUI known bugs:9 Clipboard doesn't always work as it should: - Selecting text while editing a command-line has an implied copy to the clipboard. Remove this, and add a command character to copy/cut/delete the selected text (used in the popup menu). - When selecting at the more-prompt or hit-return-prompt right mouse button doesn't give popup menu. Also has an implied copy to the clipboard. Use the popup menu "Copy" entry for that.9 When there are more than 32767 lines, the scrollbar has a roundoff error. Clicking the up or down error scrolls two lines or more. Looks like there is an extra event that reports the new position of the scrollbar.8 Make new version of VisVim.dll which includes the patch from Cordell.8 When 'grepprg' doesn't execute, the error only flashes by, the user can hardly see what is wrong. (Moore) Could use vimrun with an "-nowait" argument to only wait when an error occurs, but "command.com" doesn't return an error code.8 When the 'shell' cannot be executed, should give an appropriate error msg.8 MessageBox used for error messages can be too big. There is no way to scroll it, or even hit the OK button (but you can hit return).7 Add an option to disable adding a pixel row for bold and italic fonts? Same option as for multi-byte (patch from Nam)? Add another option to add one to the character width? Lucida Console italic is wider than the normal font ("d" overlaps with next char).7 At the hit-return prompt scrolling now no longer works. Need to use the keyboard to get around this. Pretend <CR> was hit when the users tries to scroll?7 'mousefocus' is disabled until the next mouse click, when trying to exit by hitting the X in the title bar. (Webb)7 Scrollbar width doesn't change when selecting other windows appearance. Also background color of Toolbar and rectangle below vert. scrollbar.7 "!start /min cmd" should run in a minimized window, instead of using "/min" as the command name. (Rogall)6 Drawing text transparantly doesn't seem to work (when drawing part cursor).8 CTRL key doesn't always work in combination with ALT key. It does work for function keys, not for alphabetic characters.8 CTRL-@ doesn't work. Don't even get a message for it?8 CTRL-- doesn't work for AZERTY, because it's CTRL-[ for QWERTY. How do we know which keyboard is being used?8 When using ":se guifont=Courier_New" bold chars leave pixels behind, in front of a character, after a TAB. (McRae)7 When scrolling, and a background color is dithered, the dither pattern doesn't always join correctly between the scolled area and the new drawn area (Koloseike).7 File/Print uses notepad, which puts the name of the temp file on top of each page. How do we get the actual file name there? Alternative: use prfile32 (Aaron)8 install.exe and vimrun.exe are not build from Gvim_vc.mak. When added, check that this works from the command line and from the IDE.8 ":r !mycommand" doesn't pass the environment to the external command.8 When dropping a shortcut on gvim (.lnk file) should edit the target, not the shortcut itself.8 Tear-off menu causes a crash when it contains many items (>100). (Pedro Gomes) Probably because DLG_ALLOC_SIZE is a fixed number.Athena GUI:9 Use one of the Syntax menu items. Then ":aunmenu Syntax", Vim crashes. Also crashes when using Buffers.Refresh.9 When using ":unmenu" in menu item, the reversing of menu items is wrong. Happens with Syntax/manual. Problem with not removing the reversed text when destroying the menu item? For Rochholz Vim crashes.9 Because destroying a menu can cause a crash, it is not destroyed but unmanaged. The destoyed Widgets are remembered, this list is never cleaned up.9 When closing the confirm() dialog, Vim exits.9 Menu ordering doesn't work.9 When using "menu a.b.c.d lll", the "b" submenu does not disappear.8 When "j" or "k" repeated quickly, display is messed up (Lauther).8 Has extra stripes here and there. (Zeitlin). When dragging last status line with the mouse, small black lines appear in the command line pseudo-scrollbar (only when status line moved quickly).7 The file selector is not resizable. With a big font it is difficult to read long file names. (Schroeder)Motif GUI:9 When starting GUI with ":gui" while 'writedel' is non-zero, escape sequences are split up. Motif version crashes.9 Motif 1.2: Adding many menu items, making two rows, still doesn't work properly on HPUX.8 Implement ":tearoff".9 When using the right mouse button, for some people gvim freezes for a couple of seconds. This doesn't happen when there is no Popup menu. (Halevy)8 Popup menu ordering is wrong.8 Dialog: Pointer should be moved to the default button. Accelerators don't work yet.8 Lesstif 0.89.4: Tearing-off a menu sometimes gives a "Restoring focus to NULL widget!" error. Probably a Lesstif problem.8 Lesstif: When deleting a menu that's torn off, the torn off menu becomes very small instead of disappearing. When closing it, Vim crashes. (Phillipps)GUI:9 When using a very small font, 'columns' can be very big. Either handle a large value everywhere, or set a maximum MAX_COLUMNS.9 On Solaris, creating the popup menu causes the right mouse button no longer to work for extending the selection. (Halevy)9 When running an external program, it can't always be killed with CTRL-C. e.g. on Solaris 5.5, when using "K" (Keech). Other 'guipty' problems on Solaris 2.6. (Marley)9 On Solaris: Using a "-geometry" argument, bigger than the window where Vim is started from, causes empty lines below the cmdline. (raf)8 X11 GUI: When menu is disabled by excluding 'm' from 'guioptions', ALT key
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -