📄 todo.txt
字号:
"-" character, if not present, use unsigned long.8 Make it possible to disable the special meaning of "#" in the first column for ">>".8 When doing ":qa", and there is a change in a buffer that is being edited in another window, the current window will also be editing the buffer with the change. Should jump to the window with the changed buffer.8 Should replace "screen_Columns" with "Columns", and use "new_Columns" for the value to be used for Columns. Same for "Rows". Helps when using a GUI with threads.8 Add suspending with CTRL-Z at the "more" prompt, and when executing a long script in do_cmdline().8 When using 'hidden', many swap files will be open. When Vim runs into the maximum number of open files, error messages will appear. Detect that this problem is present, and close any hidden files that don't have changes.8 With 'viminfo' set such that the ".viminfo" file is written on a FAT filesystem, an illegal file name may be created: ".vim".8 For each buffer that is opened, the viminfo file is opened and read to check for file marks. This can be slow.7 "dd" on the last line of the file, causes the last but one line to be redrawn. Should not be necessary.7 Using "gqj" near the last line of the window, makes the window scroll up, even though this isn't necessary.- These mappings don't work with the Win32 versions: (Bradley) nmap ,p {<Right>V}<Left> nmap ,> ,p,> vmap ,> > Looks like the nmap is used instead of the vmap.8 Should be able to compile Vim in another directory, with $(srcdir) set to where the sources are. Add $(srcdir) in the Makefile in a lot of places. (Netherton)8 Perl adds arguments to the compiler. Check that compiling a program still works after that, otherwise following configure checks will fail.7 In xterm, recognize both vt100 and vt220 cursor keys. Change add_termcode() to not remove an existing entry for a name, when it's needed. Recognize <C-Left> and <C-Right> in new xterm. Need a generic solution to recognize different codes for the same key.8 Core dump within signal function: gdb doesn't show stack backtrace! Option to skip catch_signals()?8 Pasting with the mouse in Replace mode inserts the text, instead of overwriting, when it is more than one line. Same for using <C-R>.7 When using search history, the trailing '/' or '?' needs to be changed depending on the search command. When there was no '/' or '?', add one, so flags can be added easily?7 CTRL-F at the end of the file, when 'so' is set, redraws twice. When the window is small (< 2 * 'so') it behaves differently.9 CTRL-E and CTRL-Y don't work in small window when 'so' is 4 and lines are wrapping (Acevedo/in.226). E.g., when using CTRL-E, window height 7, window might actually scroll down when last line of buffer is displayed. --> Remember if the previous command was "cursor follows screen" or "screen follow cursor" and use this in cursupdate().9 Text is scrolled up and down: (acevedo) - set scrolloff to something >1 (i always use "set so=4") - set the win. hegiht to scrolloff + 1 (i'd do ^W5_) - load a file with scrolloff + 2 lines - put the cursor in line scrolloff +1 (5G) - if you move the cursor along the line (h, l, insert text, etc) the text is crolled with each keystroke (once up, once down,...) sometimes with <Esc> the text is scrolled up and down without stop!!!!7 tilde_replace() can only handle "~/", should also do "~user/". Get the list of home directories (from /etc/passwd? Use getpwent()) and use some clever algorithm to match a path with that. Find common strings in the list?8 Add 'o' flag to 'mouse'?8 When dragging status line with mouse, sometimes a jump when first clicking on the status line (caused by 'winheight'). Select window on button up, instead of on button down.7 There are often a few <CR> on a row sent to the screen, should not be necessary.8 When performing incremental search, should abort searching as soon as a character is typed.8 Make CTRL-C on Unix generate a signal, avoid using select() to check for a CTRL-C (it's slow). Allow using CTRL-C for "*y, like in MS-Windows.8 When writing viminfo file, handle CTRL-J in filename (needs to be escaped with CTRL-V). (Acevedo)8 When starting Vim, switch terminal to RAW mode asap, so typeahead is handled correctly (without the need for a <CR>).8 When the value of $MAKE contains a path, configure can't handle this. It's an autoconf bug. Remove the path from $MAKE to work around it.8 How to set VIMRC_FILE to \"something\" for configure? Why does this not work: CFLAGS='-DVIMRC_FILE=\"/mydir/myfile\"' ./configure8 The temporary file is sometimes not writable. Check for this, and use an alternate name when it isn't. Or add the 'temptemplate' option: template for the temp file name ":set temptemplate=/usr/tmp/?????.tmp". Also: Win32 version uses Windows temp directory, which might not work for cygwin bash.7 Get error "*, \+ or \( operand could be empty" for pattern "\(.\)\1\{3}". Don't check when compiling, check while matching?7 When switching to Daylight Saving Time, Vim complains that a file has been changed since last read. Can we use a function that uses GMT?I can't reproduce these (if you can, let me know how!):- With backupdir=~/tmp,/tmp nowritebackup nobackup patchmode=.smr and the patchmode file exists, backup files in the tmp directory are left lying around - they should be deleted! (Riehm)9 Crash when changing fonts in Athena (Hiebert). gui_mch_set_scrollbar_pos gets an "sb" argument that points to all zero entries...?9 Crash in Motif GUI, when pasting text with middle mouse button while in Insert mode. SunOS 4.1.3 only? (Janssen).8 Motif: Tear-off menu item crashes Vim on some machines. (Netherton) It works fine for me, maybe it's a Motif problem.- On Diamond Viper 132x43 mode crash on exit (John Lange)9 NT 4.0: Editing ".bashrc" (drag and drop), file disappears. Editing ".xyz" is OK. (McCollister)8 Win32 GUI: NT: When regaining focus at the more prompt, there is an extra newline. (Webb)8 Win32 GUI: Writable File in read-only dir can be deleted but not written? (Canup)9 GUI: Between version 5.0h and 5.0i the Home and End keys stopped working for Micheal Schulz (Linux and AIX).9 Win32 console: <M-S-Left> causes a crash. (Geddes)9 In MSDOS version(s): typing ESC three or four times crashes Vim, when 'visualbell' is set (Kielhorn).[These have been reported for version 3.0, they may not appear in this version]- MSDOS: After writing on a network the 'w' bit for others is set.Problems that will (probably) not be solved:- X windows: When $DISPLAY points to a X server where there is no access permission, trying to connect to the X server causes an error message. XtOpenDisplay() prints this directly, there is no way to avoid it.- Win32: All files created on the day of switching from winter to summer time cause "changed since editing started" messages. It goes away when the file is written again the next day, or the timezone is adjusted. DJGPP version is OK. (Zaimi) Looks like a problem with the Win32 library. Rebooting doesn't help. Time stamps look OK in directory. (Penn)- Moving the cursor removes color in color-xterm. This is a color-xterm problem! color-xterm ver. 6.1 beta 3 and later work properly.- The Dos32 version (DJGPP) can't use long file names on Windows NT.- In zsh, "gvim&" changes the terminal settings. This is a zsh problem. (Jennings)- Problem with HPterm under X: old contents of window is lost (Cosentino).- Amiga: When using quickfix with the Manx compiler we only get the first 25 errors. How do we get the rest?- Amiga: The ":cq" command does not always abort the Manx compiler. Why?- Linux: A file with protection r--rw-rw- is seen readonly for others. The access() function in GNU libc is probably wrong.- MSDOS: When using smartdrive with write-back buffering, writing to a readonly floppy will cause problems. How to test for a writable floppy first?- MSDOS: Both 16 and 32 bit versions: File name expansion doesn't work for names that start with a dot. These used to be illegal file names.- When doing a CTRL-Z and typing a command for the shell, while Vim is busy (e.g. writing a file), the command for the shell is sometimes eaten by Vim, because the terminal mode is changed from RAW to CBREAK.- An old version of GNU tgoto can't handle the terminfo code for "AF". The "%p1" is interpreted as "%p" and "1", causing color not to be working. Fix: Change the "%p1" in the "AF" and "AB" terminfo entries to "%p". (Benzinger).- When running an external command from the GUI, typeahead is going to that program, not to Vim. It looks like the shell eats the characters, Vim can't get back what the external command didn't use.- Win32 GUI: Error code from external command not returned in shell_error. It appears that cmd.exe and command.com don't return an error code.- Win32 GUI: The Toolbar is a bit too high when the flat style is being used. We don't have control over the height of the Toolbar.- SunOS 5.5.1 with Motif: The file open dialog does not have a horizontal scroll bar for the "files" selection. This is a problem in the Motif libraries, get a patch from Sun.- Solaris 2.6 with GTK and Perl: gvim crashes when started. Problem with X input method called from GDK code. Without Perl it doesn't crash.--------------------- extensions and improvements ---------------------- *extensions-improvements*Considered for release 6.0:7 Folding.7 Vertically splitting the screen. Show differences between files (sdiff). Some way create a new file to merge differences. Examples: Ted (moon.csie.ntu.edu.tw/pub/X/ted), Aurora (www.ntext.net)7 Editing the command line with Normal mode Vi commands. See readline(3) for ideas.7 Support for editing a remote file through ftp or http (with a script).7 Further support for editing files in projects (see ":idselect").7 Patch to add 'autoload' option: Automatically reload buffers that were changed outside of Vim ~/vim/patches/aaron.autoload . (Aaron) Also handle the 'reaonly' flag of a file when it was changed outside of Vim?9 Add "toolbar" feature, to be used in mswin.vim (it can be disabled at compile time).9 Add "mswin" feature, for Win16 and Win32. Include gui_w16.c? (Negri)8 Add option to disable the dialog for the ATTENTION prompt. In general: Better control for protecting the user for editing a file twice, file changed outside of Vim, file protection changed outside of Vim, etc.8 Patch to use 'suffixes' for included files. ~/vim/patches/waghorn.suffixes . (Waghorn)- Add patch from Wall for this one: 'flipcase' variable: upper/lower case pairs. (alternative: translate command, e.g. ":tr \248-\254 \216-\222") (From Elvis, don't like it). Insert comma's between pairs and allow a range, e.g. :set flipcase=a-zA-Z,..8 Win32 GUI: Implement flag to avoid "hit any key to continue" in DOS console used to execute external commands. Pass a flag to vimrun.exe.8 Add cscope_connection() function ~/vim/patches/kahn.cscopeconn . Also ~/vim/patches/kahn.5.4.cscope . (Kahn)8 Make ":normal" command accept <Key> notation, like ":map".8 Rename all version directories to vim54 instead of vim-5.4, also for the distribution.8 GNOME support for GTK version ~/vim/patches/kahn.5.4.gnome .8 Remove runtime/macros/html.8 Adjust colortest.vim: Include colors on normal background (Szalai). Reduce the size by using a while loop.8 Use $install_prefix? (Cabric)8 When color cannot be allocated, use nearest match. Useful when netscape has eaten many colors. Check FindClostestColor in Tcl/Tk. (Shah)8 Add the possibility for a maintainer of a binary version to include his e-mail address. In the ":version" or ":intro" message?8 ">>" with 'softtabstop' set should work like 'tabstop' is set to 'softtabstop'. (Zivkov) But what about when there is a string?8 Rename vim-5.5x to vim55x for all distributions, also Unix. Easier to type and no differences between systems.8 Include patch to speedup display updating for DJGPP version. (Negri) ~/Mail/oldmail/negri/in.00918 .8 Make clipboard work for Dos32 version. (Negri)8 Include Gnome support? ~/vim/patches/kahn.gnome.gz (Kahn)8 Add ":bnew" command? ~/vim/patches/wall.bnew (Wall)9 ":redir @*" should work: Redirect to the clipboard. Just allow using this register and add a flag to write_reg_contents() to append. ~/vim/patches/wall.redir (Wall)8 ":redir >$HOME/xxx" should work: expand file name argument of ":redir".Documentation:9 Errors in doc to HTML conversion: autocmd.txt "like \| in a |pattern|"9 Change examples in docs: Instead of a ">" in front of every line, use " >" once at end of line before the example and "<" after the last line (or a not-indented line). Use the syntax cmd: :syn region helpExample matchgroup=Ignore start=" >$" \ end="^[^ \t]"me=e-1 end="^<" Allows for copy/pasting the examples. Put ">" on a separate line when there is room.9 In change.txt, remark about Javadoc isn't right. Right alignment would work too.8 Spread the windows commands over the other files. For example, ":stag" should be with ":tag". cross-link with tags to avoid too much double text.8 make vimtutor.bat for DOS and vimtutor script for Amiga. Then add vimtutor.man to the runtime archive.8 Add an example vimrc for using Vim as a modeless editor. Emulate an existing editor (WordStar, Brief?).7 Windows: When a wrong command is typed with an ALT key, give a hint to look at the help for 'winaltkeys'.- Check text editor compendium for vi and Vim remarks.- Add some text for xxd.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -