s (changes the order of priority in tag matching). 7 Support for "gtags" and "global"? With ":rtag" command? There is an example for how to do this in Nvi. Or do it like Elvis: 'tagprg' and 'tagprgonce' options. (Yamaguchi) The Elvis method is far more flexible, do it that way. 7 Support "col:99" extra field, to position the cursor in that column. With a flag in 'cpoptions' to switch it off again. 7 Better support for jumping to where a function or variable is used. Use the id-utils, with a connection to "gid" (Emacs can do it too). Add ":idselect", which uses an "ID" database (made by "mkid") like "tselect". Win32 GUI: 8 Make debug mode work while starting up (vim -D). Open console window for the message and input? 7 The Python interface only works with one version of Python, selected at compile time. Can this be made to work with version 2.1 and 2.2 dynamically? 7 GvimExt: when there are several existing Vims, move the list to a submenu. (Mike McCollister) 8 When using "Edit with Vim" for one file it changes directory, when several files are selected and using "Edit with single Vim" the directory isn't changed. At least change directory when the path is the same for all files. Perhaps just use the path of the first file or use the longest common part of the path. 8 Add font argument to set the lfCharSet. (Bobcik) 8 Somehow automatically detect the system language and set $LANG, so that gettext and menus work. 8 Could keep console open to run multiple commands, to avoid the need to hit return in every console. Also: Look at how Emacs does runs external commands: http://www.cs.washington.edu/homes/voelker/ntemacs.html. 8 Need a separate PopUp menu for modeless selection. Need two new commands: Copy selection to clipboard, Paste selection (as typed text). 8 Support copy/paste for other file formats. At least HTML, perhaps RTF. Add "copy special" and "paste special" commands? 7 Use different default colors, to match the current Windows color scheme. Sys_WindowText, Sys_Window, etc. (Lionel Schaffhauser) 7 Use <C-Tab> to cycle through open windows (e.g., the find dialog). 7 <Esc> should close a dialog. 7 Keep the console for external commands open. Don't wait for a key to be hit. Re-open it when the user has closed it anyway. Or use a prepended command: ":nowait {cmd}", or ":quiet", which executes {cmd} without any prompts. 7 Should be able to set an option so that when you double click a file that is associated with Vim, you can either get a new instance of Vim, or have the file added into an already running Vim. 7 The "-P" argument only works for the current codepage. Use wide functions to find the window title. GUI: 8 Make inputdialog() work for Photon, Amiga, RiscOS. - <C--> cannot be mapped. Should be possible to recognize this as a normal "-" with the Ctrl modifier. 7 Implement ":popup" for other systems than Windows. 8 Implement ":tearoff" for other systems than Win32 GUI. 6 Implement ":untearoff": hide a torn-off menu. 8 When using the scrollbar to scroll, don't move the cursor position. When moving the cursor: scroll to the cursor position. 9 Make <S-Insert> paste from the clipboard by default. (Kunze) 7 Menu local to a buffer, like mappings. Or local to a filetype? 8 In Buffers menu, add a choice whether selecting a buffer opens it in the current window, splits the window or uses ":hide". 8 Dragging the mouse pointer outside of a Vim Window should make the text scroll. Return a value from gui_send_mouse_event() to the machine specific code to indicate the time in which the event should be repeated. 8 Make it possible to ignore a mouse click when it's used to give Vim (gvim) window focus. Also when a mouse click is used to bring a window to front. 8 Make the split into system independent code and system specific code more explicit. There are too many #ifdefs in gui.c. If possible, separate the Vim code completely from the GUI code, to allow running them in separate processes. 7 X11: Support cursorColor resource and "-cr" argument. 8 X11 (and others): CTRL-; is not different from ';'. Set the modifier mask to include CTRL for keys where CTRL produces the same ASCII code. 7 Add some code to handle proportional fonts on more systems? Need to draw each character separately (like xterm). Also for when a double-width font is not exactly double-width. (Maeda) 8 Should take font from xterm where gvim was started (if no other default). 8 Selecting font names in X11 is difficult, make a script or something to select one. 8 Visual highlighting should keep the same font (bold, italic, etc.). 8 Add flag to 'guioptions' to not put anything in the clipboard at all? 8 Should support a way to use keys that we don't recognize yet. Add a command that adds entries to special_keys somehow. How do we make this portable (X11, Win32, ..)? 7 Add a flag to 'guioptions' that tells not to remove inactive menu items. For systems where greying-out or removing menu items is very slow. The menu items would remain visibly normally, but not do anything. 7 Add ":minimize" and ":maximize", which iconize the window and back. Useful when using gvim to run a script (e.g. 2html.vim). 7 X11: Is it possible to free allocated colors, so that other programs can use them again? Otherwise, allow disabling allocating the default colors. Or allocate an own colormap (check UAE). With an option to use it. For the commandline, "-install" is mostly used for X11 programs. 7 Add command line argument for "gvim" not to start the GUI. Sort of the inverse of "vim -g". (Vikas) 7 Should support multi-column menus. - Should add option for where to put the "Help" menu: like Motif at the far right, or with the other menus (but still at the right). - Add menu item to "Keep Insert mode". 8 ":mkgvimrc" command, that includes menus. 6 Big change: Move GUI to separate program "vimgui", to make startup of vim a lot faster, but still be able to do "vim -g" or ":gui". 7 More explicit mouse button binding instead of 'mousemodel'? 7 Add option to set the position of the window on the screen. 'windowpos', which has a value of "123,456": <x>,<y>. Or add a command, like ":winsize"? 7 Add toolbar for more GUIs. 8 Make it possible to use "amenu icon=BuiltIn##", so that the toolbar item name can be chosen free. 7 Make it possible to put the toolbar on top, left, right and/or bottom of the window? Allows for softkey-like use. 6 Separate the part of Vim that does the editing from the part that runs the GUI. Communicate through a pseudo-tty. Vim starts up, creates a pty that is connected to the terminal. When the GUI starts, the pty is reconnected to the GUI process. When the GUI stops, it is connected to the terminal again. Also use the pty for external processes, it looks like a vt100 terminal to them. Vim uses extra commands to communicate GUI things. 7 Motif: For a confirm() dialog <Enter> should be ignored when no default button selected, <Esc> should close the dialog. 7 When using a pseudo-tty Vim should behave like some terminal (vt52 looks simple enough). Terminal codes to/from shell should be translated. - Would it be useful to be able to quit the GUI and go back to the terminal where it was started from? 7 Support "-visual <type>" command line argument. Autocommands: - Put autocommand event names in a hashtable for faster lookup? 7 For autocommand events that trigger multiple times per buffer (e.g., CursorHold), go through the list once and cache the result for a specific buffer. Invalidate the cache when adding/deleting autocommands or changing the buffer name. 8 Add ScriptReadCmd event: used to load remote Vim scripts, e.g. "vim -u http://mach/path/vimrc". 7 Add TagJump event: do something after jumping to a tag. 8 Add "TagJumpFile" autocommand: When jumping to another file for a tag. Can be used to open "main.c.gz" when "main.c" isn't found. 8 Use another option than 'updatetime' for the CursorHold event. The two things are unrelated for the user (but the implementation is more difficult). 8 Add an event like CursorHold that is triggered repeatedly, not just once after typing something. 7 Add autocommand event for when a buffer cannot be abandoned. So that the user can define the action taking (autowrite, dialog, fail) based on the kind of file. (Yakov Lerner) Or is BufLeave sufficient? 8 Autocommand for when modified files have been found, when getting input focus again (e.g., FileChangedFocus). Check when: getting focus, jumping to another buffer, ... 7 Autocommand for when an option is changed. Match buffer name or option name? 8 Autocommands should not change registers. And marks? And the jumplist? And anything else? Add a command to save and restore these things. 8 Add autocommands, user functions and user commands to ":mkvimrc". 6 Add KeymapChanged event, so that the effects of a different keymap can be handled (e.g., other font) (Ron Aaron) 7 When trying to open a directory, trigger an OpenDirectory event. 7 Add file type in front of file pattern: <d> for directory, <l> for link, <x> for executable, etc. <&xxx> for Risc OS. With commas to separate alternatives. The autocommand is only executed when both the file type AND the file pattern match. (Leonard) 5 Add option that specifies extensions which are to be discarded from the file name. E.g. 'ausuffix', with ".gz,.orig". Such that file.c.gz will trigger the "*.c" autocommands. (Belabas) 7 Add something to break the autocommands for the current event, and for what follows. Useful for a "BufWritePre" that wants to avoid writing the file. 8 When editing "tt.gz", which is in DOS format, 'fileformat' stays at "unix", thus writing the file changes it. Somehow detect that the read command used dos fileformat. Same for 'fileencoding'. - Add events to autocommands: Error - When an error happens NormalEnter - Entering Normal mode ReplaceEnter - Entering Replace mode CmdEnter - Entering Cmdline mode (with type of cmdline to allow different mapping) VisualEnter - Entering Visual mode *Leave - Leaving a mode (in pair with the above *Enter) VimLeaveCheck - Before Vim decides to exit, so that it can be cancelled when exiting isn't a good idea. CursorHoldC - CursorHold while command-line editing WinMoved - when windows have been moved around, e.g, ":wincmd J" CmdUndefined - Like FuncUndefined but for user commands. SearchPost - After doing a search command (e.g. to do "M") PreDirChanged/PostDirChanged - Before/after ":cd" has been used (for changing the window title) BufReadAction - replaces reading a file BufWriteAction - replaces writing a file ShutDown - when the system is about to shut down InsertCharPre - user typed character Insert mode, before inserting the char. Pattern is matched with text before the cursor. Set v:char to the character, can be changed. (not triggered when 'paste' is set). InsertCharPost - user typed a character in Insert mode, after inserting the char. BufModified - When a buffer becomes modified, or unmodified (for putting a [+] in the window title or checking out the file from CVS). BufFirstChange - When making a change, when 'modified' is set. Can be used to do a :preserve for remote files. BufChange - after a change was made. Set some variables to indicate the position and number of inserted/deleted lines, so that marks can be updated. HierAssist has patch to add BufChangePre, BufChangePost and RevertBuf. (Shah) ViewChanged - triggered when the text scrolls and when the window size changes. WinResized - After a window has been resized WinClose - Just before closing a window - Write the file now and then ('autosave'): *'autosave'* *'as'* *'noautosave'* *'noas'* 'autosave' 'aw' number (default 0) Automatically write the current buffer to file N seconds after the last change has been made and when |'modified'| is still set. Default: 0 = do not autosave the buffer. Alternative: have 'autosave' use 'updatetime' and 'updatecount' but make them save the file itself besides the swapfile. Omni completion: - Add a flag to 'complete' to be able to do omni completion with CTRL-N (and mix it with other kinds of completion). - Ideas from the Vim 7 BOF at SANE: - For interpreted languages, use the interpreter to obtain information. Should work for Java (Eclipse does this), Python, Tcl, etc. Richard Emberson mentioned working on an interface to Java. - Check Readline for its completion interface. - Ideas from others: http://www.wholetomato.com/ http://www.vim.org/scripts/script.php?script_id=747 http://sourceforge.net/projects/insenvim or http://insenvim.sourceforge.net Java, XML, HTML, C++, JSP, SQL, C# MS-Windows only, lots of dependencies (e.g. Perl, Internet explorer), uses .dll shared libraries. For C++ uses $INCLUDE environment var. Uses Perl for C++. Uses ctags to find the info: ctags -f $allTagsFile --fields=+aiKmnsSz --language-force=C++ --C++-kinds=+cefgmnpsut-dlux -u $files www.vim.org script 1213 (Java Development Environment) (Fuchuan Wang) IComplete: http://www.vim.org/scripts/script.php?script_id=1265 and http://stud4.tuwien.ac.at/~e0125672/icomplete/ http://cedet.sourceforge.net/intellisense.shtml for Emacs Ivan Villanueva has something for Java. Emads: http://www.xref-tech.com/xrefactory/more_c_completion.html Completion in .NET framework SharpDevelop: http://www.icsharpcode.net - Pre-expand abbreviations, show which abbrevs would match? Insert mode completion/expansion: - GUI implementation of the popup menu. 7 When searching in other files the name flash by, too fast to read. Only display a name every second or so, like with ":vimgrep". 7 When expanding file names with an environment variable, add the match with the unexpanded var. So $HOME/tm expands to "/home/guy/tmp" and "$HOME/tmp" 8 When there is no word before the cursor but something like "sys." complete with "sys.". Works well for C and similar languages. 9 ^X^L completion doesn't repeat correctly. It uses the first match with the last added line, instead of continuing where the last match ended. (Webb) 8 Add option to set different behavior for Insert mode completion: - ignore/match case - different characters than 'iskeyword' 8 Add option 'isexpand', containing characters when doing expansion (so that "." and "\" can be included, without changing 'iskeyword'). (Goldfarb) Also: 'istagword': characters used for CTRL-]. When 'isexpand' or 'istagword' are empty, use 'iskeyword'. Alternative: Use a pattern so that start and end of a keyword can be defined, only allow dash in the middle, etc. 8 Add a command to undo the completion, go back to the original text. 7 Completion of an abbreviation: Can leave letters out, like what Instant text does: www.textware.com 8 Use the class information in the tags file to do context-sensitive completion. After "foo." complete all member functions/variables of "foo". Need to search backwards for the class definition of foo. Should work for C++ and Java. Even more context would be nice: "import java.^N" -> "io", "lang", etc. 7 When expanding $HOME/dir with ^X^F keep the $HOME (with an option?). 7 Add CTRL-X command in Insert mode like CTRL-X CTRL-N, that completes WORDS instead of words. 8 Add CTRL-X CTRL-R: complete words from register contents. 8 Add completion of previously inserted texts (like what CTRL-A does). Requires remembering a number of insertions. 8 Add 'f' flag to 'complete': Expand file names. Also apply 'complete' to whole line completion. - Add a flag to 'complete' to only scan local header files, not system header files. (Andri Moell) - Make it possible to search include files in several places. Use the 'path' option? Can this be done with the dictionary completion (use wildcards in the file name)? - Make CTRL-X CTRL-K do a binary search in the dictionary (if it's sorted). - Speed up CTRL-X CTRL-K dictionary searching (don't use a regexp?). - Set a mark at the position where the match was found (file mark, could be in another file). - Add CTRL-A command in CTRL-X mode: show all matches. - Make CTRL-X CTRL-L use the 'complete' option? - Add command in CTRL-X mode to add following words to the completed string (e.g. to complete "Pointer->element" with CTRL-X CTRL-P CTRL-W CTRL-W) - CTRL-X CTRL-F: Use 'path' to find completions. - CTRL-X CTRL-F: Option to use forward slashes on MS-Windows? - CTRL-X CTRL-F: Don't replace "$VIM" with the actual value. (Kelly) - Allow listing all matches in some way (and picking one from the list). Command line editing: 7 Add commands (keys) to delete from the cursor to the end of the command line. 8 Custom completion of user commands can't use the standard completion functions. Add a hook to invoke a user function that returns the type of completion to be done: "file", "tag", "custom", etc. - Add flags to 'whichwrap' for command line editing (cursor right at end of lines wraps to start of line). - Make editing the command line work like Insert mode in a single-line view on a buffer that contains the command line history. But this has many disadvantages, only implement it when these can be solved. Elvis has run into these, see remarks from Steve (~/Mail/oldmail/kirkendall/in.00012). - Going back in history and editing a line there would change the history. Would still need to keep a copy of the history elsewhere. Like the cmdwin does now already. - Use CTRL-O to execute one Normal mode command. How to switch to normal mode for more commands? <Esc> should cancel the command line. CTRL-T? - To allow "/" and "= need to recursively call getcmdline(), overwrite the cmdline. But then we are editing a command-line again. How to avoid that the user gets confused by the stack of command lines? - Use edit() for normal cmdline editing? Would have to integrate getcmdline() into edit(). Need to solve conflicts between Insert mode and Command-line mode commands. Make it work like Korn shell and tcsh. Problems: - Insert: completion with 'wildchar' - Insert: use cmdline abbreviations - Insert: CTRL-D deletes indent instead of listing matches - Normal: no CTRL-W commands - Normal: no ":" commands? - Normal: allow Visual mode only within one line. - where to show insert/normal mode message? Change highlighting of character in first column? - Implementation ideas: - Set "curwin" and "curbuf" to the command line window and buffer. - curwin->w_topline is always equal to curwin->w_cursor.lnum. - never set 'number', no folding, etc. No status line. - sync undo after entering a command line? - use NV_NOCL flag for commands that are not allowed in Command-line Mode. Command line completion: 8 Completing ":r ~br" should find matching user names. 8 Change expand_interactively into a flag that is passed as an argument. 8 With command line completion after '%' and '#', expand current/alternate file name, so it can be edited. Also with modifiers, such as "%:h". 8 When completing command names, either sort them on the long name, or list them with the optional part inside []. 8 Add an option to ignore case when doing interactive completion. So that ":e file<Tab>" also lists "Filelist" (sorted after matching case matches). 7 Completion of ":map x ": fill in the current mapping, so that it can be edited. (Sven Guckes) - For 'wildmenu': Simplify "../bar" when possible. - When using <Up> in wildmenu mode for a submenu, should go back to the current menu, not the first one. E.g., ":emenu File.Save<Up>". 8 For ":find" and ":sfind" expand files found in 'path'. 8 When using backtick expansion, the external command may write a greeting message. Add an option or commands to remove lines that match a regexp? 7 When listing matches of files, display the common path separately from the file names, if this makes the listing shorter. (Webb) - Add command line completion for ":ilist" and friends, show matching identifiers (Webb). 8 Add command line completion for "old value" of a command. ":args <key>" would result in the current list of arguments, which you can then edit. 7 Add command line completion with CTRL-X, just like Insert mode completion. Useful for ":s/word/xx/". - Add command to go back to the text as it was before completion started. Also to be used for <Up> in the command line. - Add 'wildlongest' option: Key to use to find longest common match for command line completion (default CTRL-L), like 'wildchar'. (Cregut) Also: when there are several matches, show them line a CTRL-D. Command line history: 9 Remember which command lines were actually typed and were not loaded from viminfo. When writing viminfo append only these lines, so that lines from other Vim's are not overwritten. - Add "KeyWasTyped" flag: It's reset before each command and set when a character from the keyboard is consumed. Value is used to decide to put a command line in history or not. Put line in history if it didn't completely resulted from one mapping. - When using ":browse", also put the resulting edit command in the history, so that it can be repeated. (Demirel) Insert mode: 9 When 'autoindent' is set, hitting <CR> twice, while there is text after the cursor, doesn't delete the autoindent in the resulting blank line. (Rich Wales) This is Vi compatible, but it looks like a bug. 8 When using CTRL-O in Insert mode, then executing an insert command "a" or "i", should we return to Insert mode after <Esc>? (Eggink) Perhaps it can be allowed a single time, to be able to do "<C-O>10axyz<Esc>". Nesting this further is confusing. ":map <F2> 5aabc<Esc>" works only once from Insert mode. 8 When using CTRL-G CTRL-O do like CTRL-\ CTRL-O, but when returning with the cursor in the same position and the text didn't change continue the same change, so that "." repeats the whole insert. 7 Use CTRL-G <count> to repeat what follows. Useful for inserting a character multiple times or repeating CTRL-Y. - Make 'revins' work in Replace mode. 7 Use 'matchpairs' for 'showmatch': When inserting a character check if it appears in the rhs of 'matchpairs'. - In Insert mode (and command line editing?): Allow undo of the last typed character. This is useful for CTRL-U, CTRL-W, delete and backspace, and also for characters that wrap to the next line. Also: be able to undo CTRL-R (insert register). Possibly use 'backspace'="whole" for a mode where at least a <CR> that inserts autoindent is undone by a single <BS>. - Use CTRL-G in Insert mode for an extra range of commands, like "g" in Normal mode. - Make 'paste' work without resetting other options, but override their value. Avoids problems when changing files and modelines or autocommands are used. - When typing CTRL-V and a digit higher than 2, only expect two digits. - Insert binary numbers with CTRL-V b. - Make it possible to undo <BS>, <C-W> and <C-U>. Bash uses CTRL-Y. 'cindent', 'smartindent': 9 ") :" confuses continuation line: (Colin Bennett, 2007 Dec 14) cout << "a" << ") :" << "y"; 8 Lisp indenting: "\\" confuses the indenter. (Dorai Sitaram, 2006 May 17) 8 Why are continuation lines outside of a {} block not indented? E.g.: long_type foo = value; 8 Java: Inside an anonymous class, after an "else" or "try" the indent is too small. (Vincent Bergbauer) Problem of using {} inside (), 'cindent' doesn't work then. 8 In C++ it's possible to have {} inside (): (Kirshna) func( new String[] { "asdf", "asdf" } ); 6 Add 'cino' flag for this function argument layout: (Spencer Collyer) func( arg1 , arg2 , arg3 ); 7 Add separate "(0" option into inside/outside a function (Zellner): func( int x) // indent like "(4" { if (a && b) // indent like "(0" 9 Using "{" in a comment: (Helmut Stiegler) if (a) { if (b) { // { } } <-- this is indented incorrect Problem is that find_start_brace() checks for the matching brace to be in a comment, but not braces in between. Requires adding a comment check to findmatchlimit(). - Make smartindenting configurable. Add 'sioptions', e.g. '#' setting the indent to 0 should be switched on/off. 7 Support ANSI style function header, with each argument on its own line. - "[p" and "]p" should use 'cindent' code if it's on (only for the first line). - Add option to 'cindent' to set indent for comments outside of {}? - Make a command to line up a comment after a code line with a previous comment after a code line. Can 'cindent' do this automatically? 7 Add 'j' flag to 'formatoptions': Remove comment leader when joining lines. - When 'cindent'ing a '}', showmatch is done before fixing the indent. It looks better when the indent is fixed before the showmatch. (Webb) - Add option to make indenting work in comments too (for commented-out code), unless the line starts with "*". - Don't use 'cindent' when doing formatting with "gq"? - When formatting a comment after some text, insert the '*' for the new line (indent is correct if 'cindent' is set, but '*' doesn't get inserted). 8 When 'comments' has both "s1:/*,mb:*,ex:*/" and "s1:(*,mb:*,ex:*)", the 'x' flag always uses the first match. Need to continue looking for more matches of "*" and remember all characters that could end the comment. - For smartindent: When typing 'else' line it up with matching 'if'. - 'smartindent': allow patterns in 'cinwords', for e.g. TeX files, where lines start with "\item". - Support this style of comments (with an option): (Brown) /* here is a comment that is just autoindented, and nothing else */ - Add words to 'cinwords' to reduce the indent, e.g., "end" or "fi". 7 Use Tabs for the indent of starting lines, pad with spaces for continuation lines. Allows changing 'tabstop' without messing up the indents. 'keeptabs': when set don't change the tabs and spaces used for indent, when the indent remains the same or increases. Java: 8 Can have {} constructs inside parens. Include changes from Steve Odendahl? 8 Recognize "import java.util.Vector" and use $CLASSPATH to find files for "[i" commands and friends. - For files found with 'include': handle "*" in included name, for Java. (Jason) - How to make a "package java.util" cause all classes in the package to be searched? Also for "import java.util.*". (Mark Brophy) 'comments': 8 When formatting C comments that are after code, the "*" isn't repeated like it's done when there is no code. And there is no automatic wrapping. Recognize comments that come after code. Should insert the comment leader when it's "#" or "//". Other way around: when a C command starts with "* 4" the "*" is repeated while it should not. Use syntax HL comment recognition? 7 When using "comments=fg:--", Vim inserts three spaces for a new line. When hitting a TAB, these spaces could be removed. 7 The 'n'esting flag doesn't do the indenting of the last (rightmost) item. 6 Make strings in 'comments' option a RE, to be able to match more complicated things. (Phillipps) Use a special flag to indicate that a regexp is used. 8 Make the 'comments' option with "/* * */" lines only repeat the "*" line when there is a "/*" before it? Or include this in 'cindent'? Virtual edit: 8 Make the horizontal scrollbar work to move the text further left. 7 Add a mode where the cursor is only allowed to go one character after the end of the line? 7 Allow specifying it separately for Tabs and beyond end-of-line? Text objects: 8 Add text object for fold, so that it can be yanked when it's open. 8 Add test script for text object commands "aw", "iW", etc. 8 Add text object for part of a CamelHumpedWord and under_scored_word. (Scott Graham) "ac" and "au"? 8 Add a text object for any kind of quoting, also with multi-byte characters. Option to specify what quotes are recognized (default: all) use "aq" and "iq". Use 'quotepairs' to define pairs of quotes, like 'matchpairs'? 8 Add text object for any kind of parens, also multi-byte ones. 7 Add text object for current search pattern: "a/" and "i/". Makes it possible to turn text highlighted for 'hlsearch' into a Visual area. 8 Add a way to make an ":omap" for a user-defined text object. Requires changing the starting position in oap->start. 8 Add "gp" and "gP" commands: insert text and make sure there is a single space before it, unless at the start of the line, and after it, unless at the end of the line or before a ".". 7 Add objects with backwards extension? Use "I" and "A". Thus "2dAs" deletes the current and previous sentence. (Jens Paulus) 7 Add "g{" and "g}" to move to the first/last character of a paragraph (instead of the line just before/after a paragraph as with "{" and "}"). 6 Ignore comment leaders for objects. Make "das" work in reply-email. 5 Make it possible to use syntax group matches as a text object. For example, define a "ccItem" group, then do "da<ccItem>" to delete one. Or, maybe just define "dai", delete-an-item, to delete the syntax item the cursor is on. Select mode: 8 In blockwise mode, typed characters are inserted in front of the block, backspace deletes a column before the block. (Steve Hall) 7 Alt-leftmouse starts block mode selection in MS Word. See http://www.vim.org/tips/tip.php?tip_id=743 7 Add Cmdline-select mode. Like Select mode, but used on the command line. - Change gui_send_mouse_event() to pass on mouse events when 'mouse' contains 'C' or 'A'. - Catch mouse events in ex_getln.c. Also shift-cursor, etc., like in normal_cmd(). - remember start and end of selection in cmdline_info. - Typing text replaces the selection. Visual mode: - When dragging the Visual selection with the mouse and 'scrolloff' is zero, behave like 'scrolloff' is one, so that the text scrolls when the pointer is in the top line. - Displaying size of Visual area: use 24-33 column display. When selecting multiple lines, up to about a screenful, also count the characters. 8 When using "I" or "A" in Visual block mode, short lines do not get the new text. Make it possible to add the text to short lines too, with padding where needed. 7 With a Visual block selected, "2x" deletes a block of double the width, "3y" yanks a block of triple width, etc. 7 When selecting linewise, using "itext" should insert "text" at the start of each selected line. 8 What is "R" supposed to do in Visual mode? 8 Make Visual mode local to the buffer. Allow changing to another buffer. When starting a new Visual selection, remove the Visual selection in any other buffer. (Ron Aaron) 8 Support dragging the Visual area to drop it somewhere else. (Ron Aaron, Ben Godfrey) 7 Support dragging the Visual area to drop it in another program, and receive dropped text from another program. (Ben Godfrey) 7 With blockwise Visual mode and "c", "C", "I", "A", etc., allow the use of a <CR>. The entered lines are repeated over the Visual area. 7 CTRL-V :s should substitute only in the block, not to whole lines. (David Young is working on this) 7 Filtering a block should only apply to the block, not to the whole lines. When the number of lines is increased, add lines. When decreased, pad with spaces or delete? Use ":`<,`>" on the command line. 8 After filtering the Visual area, make "gv" select the filtered text? Currently "gv" only selects a single line, not useful. 7 Don't move the cursor when scrolling? Needed when the selection should stay the same. Scroll to the cursor at any movement command. With an option! 7 In Visual block mode, need to be able to define a corner on a position that doesn't have text? Also: when using the mouse, be able to select part of a TAB. Even more: Add a mode where the cursor can be on a screen position where there is no text. When typing, add spaces to fill the gap. Other solution: Always use curswant, so that you can move the cursor to the right column, and then use up/down movements to select the line, without changing the column. 6 ":left" and ":right" should work in Visual block mode. 7 CTRL-I and CTRL-O should work in Visual mode, but only jump to marks in the current buffer. 7 CTRL-A and CTRL-X should increase/decrease all numbers in the Visual area. 6 In non-Block mode, "I" should insert the same text in front of each line, before the first non-blank, "gI" in column 1. 6 In non-Block mode, "A" should append the same text after each line. 6 When in blockwise visual selection (CTRL-V), allow cursor to be placed right of the line. Could also allow cursor to be placed anywhere on a TAB or other special character. 6 Add commands to move selected text, without deselecting. More advanced repeating commands: - Add "." command for visual mode: redo last visual command (e.g. ":fmt"). 7 Repeating "d:{cmd}" with "." doesn't work. (Benji Fisher) Somehow remember the command line so that it can be repeated? - Add "gn": repeat last movement command. Including count. - Add "." command after operator: repeat last command of same operator. E.g. "c." will repeat last change, also when "x" used since then (Webb). "y." will repeat last yank. "c2." will repeat the last but one change? Also: keep history of Normal mode commands, add command to list the history and/or pick an older command. - History stack for . command? Use "g." command. Mappings and Abbreviations: 8 When "0" is mapped (it is a movement command) this mapping should not be used after typing another number, e.g. "20l". (Charles Campbell) Is this possible without disabling the mapping of the following command? 8 Should mapping <C-A> and <C-S-A> both work? 7 ":abbr b byte", append "b " to an existing word still expands to "byte". This is Vi compatible, but can we avoid it anyway? 8 To make a mapping work with a prepended "x to select a register, store the last _typed_ register name and access it with "&. 8 Add ":amap", like ":amenu". 7 Add a mapping that works always, for remapping the keyboard. 8 Add ":cab!", abbreviations that only apply to Command-line mode and not to entering search strings. 8 Add a flag to ":abbrev" to eat the character that triggers the abbreviation. Thus "abb ab xxx" and typing "ab<Space>" inserts "xxx" and not the <Space>. 8 Allow mapping of CTRL-@ (anywhere in the LHS). 8 Give a warning when using CTRL-C in the lhs of a mapping. It will never (?) work. 8 Add a way to save a current mapping and restore it later. Use a function that returns the mapping command to restore it: mapcmd()? mapcheck() is not fool proof. How to handle ambiguous mappings? 7 Add <0x8f> (hex), <033> (octal) and <123> (decimal) to <> notation? 7 Allow mapping "Q" and "Q}" at the same time. Need to put a flag with "Q", that it needs an extra character before it can match. See Vile 'maplonger' option. 7 When someone tries to unmap with a trailing space, and it fails, try unmapping without the trailing space. Helps for ":unmap xx | unmap yy". 7 Make it possible to map 'wildchar', but only when it's a special character (like CTRL-E). Currently it's only recognized when typed. Useful for mapping a key to do something and then completion. 6 Context-sensitive abbreviations: Specify syntax group(s) in which the abbreviations are to be used. - Add mappings that take arguments. Could work like the ":s" command. For example, for a mouse escape sequence: :mapexp <Esc>{\([0-9]*\),\([0-9]*\); H\1j\2l - Add optional <Number> argument for mappings: :map <Number>q ^W^W<Number>G :map <Number>q<Number>t ^W^W<Number1-1>G<Number2>l :map q<Char> :s/<Char>/\u\0/g Or implicit: :map q <Register>d<Number>$ - Make it possible to include a <Nul> in the lhs and rhs of a mapping. - Add command to repeat a whole mapping ("." only repeats the last change in a mapping). Also: Repeat a whole insert command, including any mappings that it included. Sort-of automatic recording? - Add an option to ":map" that makes it display the special keys in <> notation (e.g. <CR> instead of ^M). Or just always do this? - Include an option (or flag to 'cpoptions') that makes errors in mappings not flush the rest of the mapping (like nvi does). - Use context sensitiveness of completion to switch abbreviations and mappings off for :unab and :unmap. 6 When using mappings in Insert mode, insert characters for incomplete mappings first, then remove them again when a mapping matches. Avoids that characters that are the start of some mapping are not shown until you hit another character. - Add mappings for replace mode: ":rmap". How do we then enter mappings for non-replace Insert mode? - Add separate mappings for Visual-character/block/line mode? - Add 'mapstop' command, to stop recursive mappings. - List mappings that have a raw escape sequence both with the name of the key for that escape sequence (if there is one) and the sequence itself. - List mappings: Once with special keys listed as <>, once with meta chars as <M-a>, once with the byte values (octal?). Sort of "spell mapping" command? - When entering mappings: Add the possibility to enter meta keys like they are displayed, within <>: <M-a>, <~@> or <|a>. - Allow multiple arguments to :unmap. - Command to show keys that are not used and available for mapping ":freekeys". - Allow any character except white space in abbreviations lhs (Riehm). Incsearch: - Add a limit to the number of lines that are searched for 'incsearch'? - When no match is found and the user types more, the screen is redrawn anyway. Could skip that. Esp. if the line wraps and the text is scrolled up every time. - Temporarily open folds to show where the search ends up. Restore the folds when going to another line. - When incsearch used and hitting return, no need to search again in many cases, saves a lot of time in big files. (Slootman wants to work on this?) When not using special characters, can continue search from the last match (or not at all, when there was no match). See oldmail/webb/in.872. - With incsearch, use CTRL-N/CTRL-P to go to next/previous match, some other key to copy matched word to search pattern (Alexander Schmid). Searching: 8 Add "g/" and "gb" to search for a pattern in the Visually selected text? "g?" is already used for rot13. The vis.vim script has a ":S" command that does something like this. Can use "g/" in Normal mode, uses the '< to '> area. Use "&/" for searching the text in the Visual area? 8 Add a mechanism for recursiveness: "\@(([^()]*\@g[^()]*)\)". \@g stands for "go recursive here" and \@( \) marks the recursive part. Perl does it this way: $paren = qr/ \(( [^()] | (??{ $paren }) )* \) /x; Here $paren is evaluated when it's encountered.  In the above terms it would be: \@((\([^()]\|\@g\)*)\) 8 Show the progress every second. Could use the code that checks for CTRL-C to find out how much time has passed. Or use SIGALRM. Where to show the number? 7 Support for approximate-regexps to find similar words (agrep http://www.tgries.de/agrep/ tre: http://laurikari.net/tre/index.html. 8 Add an item for a big character range, so that one can search for a chinese character: \z[234-1234] or \z[XX-YY] or \z[0x23-0x234]. 7 Add an item stack to allow matching (). One side is "push X on the stack if previous atom matched". Other side is "match with top of stack, pop it when it matches". Use "\@pX" and "\@m"? Example: \((\@p).\{-}\@m\)* 7 Add an option to accept a match at the cursor position. Also for search(). (Brett) 7 Add a flag to "/pat/" to discard an error. Useful to continue a mapping when a search fails. Could be "/pat/E" (e is already used for an offset). 7 Add pattern item to use properties of Unicode characters. In Perl it's "\p{L}" for a letter. See Regular Expression Pocket Reference. 8 Would it be possible to allow ":23,45/pat/flags" to search for "pat" in lines 23 to 45? Or does this conflict with Ex range syntax? 8 Allow identical pairs in 'matchpairs'. Restrict the search to the current line. 7 Allow longer pairs in 'matchpairs'. Use ~/vim/macros/matchit.vim as an example. 8 Make it possible to define the character that "%" checks for in #if/#endif. For nmake it's !if/!endif. - For "%" command: set hierarchy for which things include other things that should be ignored (like "*/" or "#endif" inside /* */). Also: use "%" to jump from start to end of syntax region and back. Alternative: use matchit.vim 8 "/:/e+1" gets stuck on a match at the end of the line. Do we care? 8 A pattern like "\([^a]\+\)\+" takes an awful long time. Recognize that the recursive "\+" is meaningless and optimize for it. This one is also very slow on "/* some comment */": "^\/\*\(.*[^/]\)*$". 7 Recognize "[a-z]", "[0-9]", etc. and replace them with the faster "\l" and "\d". 7 Add a way to specify characters in <C-M> or <Key> form. Could be \%<C-M>. 8 Add an argument after ":s/pat/str/" for a range of matches. For example, ":s/pat/str/#3-4" to replace only the third and fourth "pat" in a line. 8 When 'iskeyword' is changed the matches from 'hlsearch' may change. (Benji Fisher) redraw if some options are set while 'hlsearch' is set? 8 Add an option not to use 'hlsearch' highlighting for ":s" and ":g" commands. (Kahn) It would work like ":noh" is used after that command. Also: An extra flag to do this once, and a flag to keep the existing search pattern. - Make 'hlsearch' a local/global option, so that it can be disabled in some of the windows. - Add \%h{group-name}; to search for a specific highlight group. Add \%s{syntax-group}; to search for a specific syntax group. - Support Perl regexp. Use PCRE (Perl Compatible RE) package. (Shade) Or translate the pattern to a Vim one. Don't switch on with an option for typed commands/mappings/functions, it's too confusing. Use "\@@" in the pattern, to avoid incompatibilities. 8 Add a way to access the last substitute text, what is used for ":s//~/". Can't use the ~ register, it's already used for drag & drop. - Remember flags for backreferenced items, so that "*" can be used after it. Check with "\(\S\)\1\{3}". (Hemmerling) 8 Flags that apply to the whole pattern. This works for all places where a regexp is used. Add "\q" to not store this pattern as the last search pattern? - Add flags to search command (also for ":s"?): i ignore case I use case p use Perl regexp syntax (or POSIX?) v use Vi regexp syntax f forget pattern, don't keep it for "n" command F remember pattern, keep it for "n" command Perl uses these too: e evaluate the right side as an expression (Perl only) m multiple line expression (we don't need it) o compile only once (Perl only) s single line expression (we don't need it) x extended regexp (we don't need it) When used after ":g" command, backslash needed to avoid confusion with the following command. Add 'searchflags' for default flags (replaces 'gdefault'). - Add command to display the last used substitute pattern and last used pattern. (Margo) Maybe make it accessible through a register (like "/ for search string)? 7 Use T-search algorithm, to speed up searching for strings without special characters. See C't article, August 1997. - Add 'fuzzycase' option, so that case doesn't matter, and '-' and '_' are equivalent (for Unix filenames). - Add 'v' flag to search command: enter Visual mode, with the matching text as Visual area. (variation on idea from Bertin) - Searching: "/this//that/" should find "that" after "this". - Add global search commands: Instead of wrapping at the end of the buffer, they continue in another buffer. Use flag after search pattern: a for the next file in the argument list f for file in the buffer list w for file edited in a window. e.g. "/pat/f". Then "n" and "N" work through files too. "f" flag also for ":s/pat/foo/f"??? Then when 'autowrite' and 'hidden' are both not set, ask before saving files: "Save modified buffer "/path/file"? (Yes/Hide/No Save-all/hide-All/Quit) ". - ":s/pat/foo/3": find 3rd match of "pat", like sed. (Thomas Koehler) 7 When searching with 'n' give message when getting back where the search first started. Remember start of search in '/ mark. 7 Add option that scrolls screen to put cursor in middle of screen after search always/when off-screen/never. And after a ":tag" command. Maybe specify how many lines below the screen causes a redraw with the cursor in the middle (default would be half a screen, zero means always). 6 Support multiple search buffers, so macros can be made without side effects. 7 From xvim: Allow a newline in search patterns (also for :s, can delete newline). Add BOW, EOW, NEWL, NLORANY, NLBUTANY, magic 'n' and 'r', etc. [not in xvim:] Add option to switch on matches crossing ONE line boundary. 7 Add ":iselect", a combination of ":ilist" and ":tselect". (Aaron) (Zellner) Also ":dselect". Undo: 9 After undo/redo, in the message show whether the buffer is modified or not. 8 Undo tree: visually show the tree somehow (Damian Conway) Show only the leaves, indicating how many changed from the branch and the timestamp? Put branch with most recent change on the left, older changes get more indent? 8 See ":e" as a change operation, find the changes and add them to the undo info. Also be able to undo the "Reload file" choice for when a file was changed outside of Vim. Would require doing a diff between the buffer text and the file and storing the differences. 8 Search for pattern in undo tree, showing when it happened and the text state, so that you can jump to it. - Persistent undo: store undo in a file. Use timestamps, so that a version a certain time ago can be found and info before some time/date can be flushed. 'undopersist' gives maximum time to keep undo: "3h", "1d", "2w", "1y", etc. For the file use dot and extension: ".filename.un~" (like swapfile but "un~" instead of "swp"). - Make it possible to undo all the commands from a mapping, including a trailing unfinished command, e.g. for ":map K iX^[r". - When accidentally hitting "R" instead of Ctrl-R, further Ctrl-R is not possible, even when typing <Esc> immediately. (Grahn) Also for "i", "a", etc. Postpone saving for undo until something is really inserted? 8 When Inserting a lot of text, it can only be undone as a whole. Make undo sync points at every line or word. Could recognize the start of a new word (white space and then non-white space) and backspacing. Can already use CTRL-G u, but that requires remapping a lot of things. 8 Make undo more memory-efficient: Compare text before and after change, only remember the lines that really changed. 7 Add undo for a range of lines. Can change these back to a previous version without changing the rest of the file. Stop doing this when a change includes only some of these lines and changes the line count. Need to store these undo actions as a separate change that can be undone. - For u_save() include the column number. This can be used to set '[ and ']. And in the future the undo can be made more efficient (Webb). - In out-of-memory situations: Free allocated space in undo, and reduce the number of undo levels (with confirmation). - Instead of [+], give the number of changes since the last write: [+123]. When undoing to before the last write, change this to a negative number: [-99]. - With undo with simple line delete/insert: optimize screen updating. - When executing macro's: Save each line for undo only once. - When doing a global substitute, causing almost all lines to be changed, undo info becomes very big. Put undo info in swap file?? Buffer list: 7 Command to execute a command in another buffer: ":inbuf {bufname} {cmd}". Also for other windows: ":inwin {winnr} {cmd}". How to make sure that this works properly for all commands, and still be able to return to the current buffer/window? E.g.: ":inbuf xxx only". 8 Add File.{recent_files} menu entries: Recently edited files. Ron Aaron has a plugin for this: mru.vim. 8 Unix: Check all uses of fnamecmp() and fnamencmp() if they should check inode too. 7 Add another number for a buffer, which is visible for the user. When creating a new buffer, use the lowest number not in use (or the highest number in use plus one?). 7 Offer some buffer selection from the command line? Like using ":ls" and asking for a buffer number. (Zachmann) - When starting to edit a file that is already in the buffer list, use the file name argument for the new short file name. (Webb) - Add an option to make ":bnext" and ":bprev" wrap around the end of the buffer list. Also for ":next" and ":prev"? 7 Add argument to ":ls" which is a pattern for buffers to list. E.g. ":ls *.c". (Thompson) 7 Add expansion of buffer names, so that "*.c" is expanded to all buffer names. Needed for ":bdel *.c", ":bunload *.c", etc. 8 Support for <afile> where a buffer name is expected. 8 Some commands don't use line numbers, but buffer numbers. '$' should then mean the number of the last buffer. E.g.: "4,$bdel". 7 Add an option to mostly use slashes in file names. Separately for internal use and for when executing an external program? Swap (.swp) files: 8 If writing to the swap file fails, should try to open one in another directory from 'dir'. Useful in case the file system is full and when there are short file name problems. 8 Also use the code to try using a short file name for the backup and swap file for the Win32 and Dos 32 bit versions. 8 When a file is edited by root, add $LOGNAME to know who did su. 8 When the edited file is a symlink, try to put the swap file in the same dir as the actual file. Adjust FullName(). Avoids editing the same file twice (e.g. when using quickfix). Also try to make the name of the backup file the same as the actual file? Use the code for resolve()? 7 When using 64 bit inode numbers, also store the top 32 bits. Add another field for this, using part of bo_fname[], to keep it compatible. 7 When editing a file on removable media, should put swap file somewhere else. Use something like 'r' flag in 'viminfo'. 'diravoid'? Also: Be able to specify minimum disk space, skip directory when not enough room. 7 Add a configure check for which directory should be used: /tmp, /var/tmp or /var/preserve. - Add an option to create a swap file only when making the first change to the buffer. (Liang) Or only when the buffer is not read-only. - Add option to set "umask" for backup files and swap files (Antwerpen). 'backupumask' and 'swapumask'? Or 'umaskback' and 'umaskswap'? - When editing a readonly file, don't use a swap file but read parts from the original file. Also do this when the file is huge (>'maxmem'). We do need to load the file once to count the number of lines? Perhaps keep a cached list of which line is where. Viminfo: 7 Can probably remove the code that checks for a writable viminfo file, because we now do the chown() for root, and others can't overwrite someone else's viminfo file. 8 When there is no .viminfo file and someone does "su", runs Vim, a root-owned .viminfo file is created. Is there a good way to avoid this? Perhaps check the owner of the directory. Only when root? 8 Add argument to keep the list of buffers when Vim is started with a file name. (Schild) 8 Keep the last used directory of the file browser (File/Open menu). 8 Remember the last used register for "@@". 8 Remember the redo buffer, so that "." works after restarting. 8 Remember a list of last accessed files. To be used in the "File.Open Recent" menu. Default is to remember 10 files or so. Also remember which files have been read and written. How to display this? 7 Also store the ". register (last inserted text). 7 Make it possible to store buffer names in viminfo file relative to some directory, to make them portable over a network. (Aaron) 6 Store a snapshot of the currently opened windows. So that when quitting Vim, and then starting again (without a file name argument), you see the same files in the windows. Use ":mksession" code? - Make marks present in .viminfo usable as file marks: Display a list of "last visited files" and select one to jump to. Modelines: 8 Before trying to execute a modeline, check that it looks like one (valid option names). If it's very wrong, silently ignore it. Ignore a line that starts with "Subject: ". - Add an option to whitelist options that are allowed in a modeline. This would allow careful users to use modelines, e.g., only allowing 'shiftwidth'. - Add an option to let modelines only set local options, not global ones such as 'encoding'. - When an option value is coming from a modeline, do not carry it over to another edited file? Would need to remember the value from before the modeline setting. - Allow setting a variable from a modeline? Only allow using fixed strings, no function calls, to avoid a security problem. - Allow ":doauto BufRead x.cpp" in modelines, to execute autocommands for .cpp files. - Support the "abbreviate" command in modelines (Kearns). Careful for characters after <Esc>, that is a security leak. - Add option setting to ask user if he wants to have the modelines executed or not. Same for .exrc in local dir. Sessions: 8 DOS/Windows: ":mksession" generates a "cd" command where "aa\#bb" means directory "#bb" in "aa", but it's used as "aa#bb". (Ronald Hoellwarth) 7 When there is a "help.txt" window in a session file, restoring that session will not get the "LOCAL ADDITIONS" back. 8 With ":mksession" always store the 'sessionoptions' option, even when "options" isn't in it. (St-Amant) 8 When using ":mksession", also store a command to reset all options to their default value, before setting the options that are not at their default value. 7 With ":mksession" also store the tag stack and jump history. (Michal Malecki) 7 Persistent variables: "p:var"; stored in viminfo file and sessions files. Options: 7 ":with option=value | command": temporarily set an option value and restore it after the command has executed. 7 Setting an option always sets "w_set_curswant", while this is only required for a few options. Only do it for those options to avoid the side effect. 8 Make "old" number options that really give a number of effects into string options that are a comma separated list. The old number values should also be supported. 8 Add commands to save and restore an option, which also preserves the flag that marks if the option was set. Useful to keep the effect of setting 'compatible' after ":syntax on" has been used. 7 There is 'titleold', why is there no 'iconold'? (Chazelas) 7 Make 'scrolloff' a global-local option, so that it can be different in the quickfix window, for example. (Gary Holloway) External commands: 8 When filtering text, redirect stderr so that it can't mess up the screen and Vim doesn't need to redraw it. Also for ":r !cmd". 4 Set separate shell for ":sh", piping "range!filter", reading text "r !ls" and writing text "w !wc". (Deutsche) Allow arguments for fast start (e.g. -f). 4 Allow direct execution, without using a shell. 4 Run an external command in the background. But how about I/O in the GUI? Careful: don't turn Vim into a shell! 4 Add feature to disable using a shell or external commands. Multiple Windows: 7 "vim -oO file ..." use both horizontal and vertical splits. 8 Add CTRL-W T: go to the top window in the column of the current window. And CTRL-W B: go to bottom window. 7 Use CTRL-W <Tab>, like alt-tab, to switch between buffers. Repeat <Tab> to select another buffer (only loaded ones?), <BS> to go back, <Enter> to select buffer, <Esc> to go back to original buffer. 7 Make it possible to edit a new buffer in the preview window. A script can then fill it with something. ":popen"? 7 Add a 'tool' window: behaves like a preview window but there can be several. Don't count it in only_one_window(). (Alexei Alexandrov) 6 Add an option to resize the shell when splitting and/or closing a window. ":vsp" would make the shell wider by as many columns as needed for the new window. Specify a maximum size (or use the screen size). ":close" would shrink the shell by as many columns as come available. (Demirel) 7 When starting Vim several times, instantiate a Vim server, that allows communication between the different Vims. Feels like one Vim running with multiple top-level windows. Esp. useful when Vim is started from an IDE too. Requires some form of inter process communication. - Support a connection to an external viewer. Could call the viewer automatically after some seconds of non-activity, or with a command. Allow some way of reporting scrolling and cursor positioning in the viewer to Vim, so that the link between the viewed and edited text can be made. Marks: 8 Add ten marks for last changed files: ':0, ':1, etc. One mark per file. 8 When cursor is first moved because of scrolling, set a mark at this position. (Rimon Barr) Use '-. 8 Add a command to jump to a mark and make the motion inclusive. g'm and g`m? 8 The '"' mark is set to the first line, even when doing ":next" a few times. Only set the '"' mark when the cursor was really moved in a file. 8 Make `` and '', which would position the new cursor position in the middle of the window, restore the old topline (or relative position) from when the mark was set. 7 Make a list of file marks in a separate window. For listing all buffers, matching tags, errors, etc. Normal commands to move around. Add commands to jump to the mark (in current window or new window). Start it with ":browse marks"? 6 Add a menu that lists the Marks like ":marks". (Amerige) 7 For ":jumps", ":tags" and ":marks", for not loaded buffers, remember the text at the mark. Highlight the column with the mark. 7 Highlight each mark in some way (With "Mark" highlight group). Or display marks in a separate column, like 'number' does. 7 Use d"m to delete rectangular area from cursor to mark m (like Vile's \m command). 7 Try to keep marks in the same position when: - replacing with a line break, like in ":s/pat/^M/", move marks after the line break column to the next line. (Acevedo) - inserting/deleting characters in a line. 5 Include marks for start/end of the current word and section. Useful in mappings. 6 Add "unnamed mark" feature: Like marks for the ":g" command, but place and unplace them with commands before doing something with the lines. Highlight the marked lines somehow. Digraphs: 7 Make "ga" show the digraph for a character, if it exists. Also the keymap? - Make it possible to enter "r<C-E>" and "r<C-Y>" (get character from line below/above). - Use digraph table to tell Vim about the collating sequence of special characters? 8 Add command to remove one or more (all) digraphs. (Brown) 7 Support different sets of digraphs (depending on the character set?). At least Latin1/Unicode, Latin-2, MS-DOS (esp. for Win32). Writing files: - In vim_rename(), should lock "from" file when deleting "to" file for systems other than Amiga. Avoids problems with unexpected longname to shortname conversion. 8 write mch_isdevice() for Amiga, Mac, VMS, etc. 8 When appending to a file, Vim should also make a backup and a 'patchmode' file. 8 'backupskip' doesn't write a backup file at all, a bit dangerous for some applications. Add 'backupelsewhere' to write a backup file in another directory? Or add a flag to 'backupdir'? 7 The 'directory' option supports changing path separators to "%" to make file names unique, also support this for 'backupdir'. (Mikolaj Machowski) 6 Add an option to write a new, numbered, backup file each time. Like 'patchmode', e.g., 'backupmode'. 6 Make it possible to write 'patchmode' files to a different directory. E.g., ":set patchmode=~/backups/*.orig". (Thomas) 6 Add an option to prepend something to the backup file name. E.g., "#". Or maybe allow a function to modify the backup file name? 8 Only make a backup when overwriting a file for the first time. Avoids losing the original when writing twice. (Slootman) 7 On non-Unix machines, also overwrite the original file in some situations (file system full, it's a link on an NFS partition). 7 When editing a file, check that it has been change outside of Vim more often, not only when writing over it. E.g., at the time the swap file is flushed. Or every ten seconds or so (use the time of day, check it before waiting for a character to be typed). 8 When a file was changed since editing started, show this in the status line of the window, like "[time]". Make it easier to reload all outdated files that don't have changes. Automatic and/or with a command. Substitute: 8 Substitute with hex/unicode number "\%xff" and "\%uabcd". Just like "\%uabcd" in search pattern. 8 Make it easier to replace in all files in the argument list. E.g.: ":argsub/oldword/newword/". Works like ":argdo %s/oldword/newword/g|w". - :s///p prints the line after a substitution. - With :s///c replace \&, ~, etc. when showing the replacement pattern. 8 With :s///c allow scrolling horizontally when 'nowrap' is effective. Also allow a count before the scrolling keys. - Add number option to ":s//2": replace second occurrence of string? Or: :s///N substitutes N times. - Add answers to ":substitute" with 'c' flag, used in a ":global", e.g.: ":g/pat1/s/pat2/pat3/cg": 'A' do all remaining replacements, 'Q' don't do any replacements, 'u' undo last substitution. 7 Substitute in a block of text. Use {line}.{column} notation in an Ex range, e.g.: ":1.3,$.5s" means to substitute from line 1 column 3 to the last line column 5. 5 Add commands to bookmark lines, display bookmarks, remove bookmarks, operate on lines with bookmarks, etc. Like ":global" but with the possibility to keep the bookmarks and use them with several commands. (Stanislav Sitar) Mouse support: 8 Add 'o' flag to 'mouse'? 7 Be able to set a 'mouseshape' for the popup menu. 8 Add 'mouse' flag, which sets a behavior like Visual mode, but automatic yanking at the button-up event. Or like Select mode, but typing gets you out of Select mode, instead of replacing the text. (Bhaskar) - Implement mouse support for the Amiga console. - Using right mouse button to extend a blockwise selection should attach to the nearest corner of the rectangle (four possible corners). - Precede mouse click by a number to simulate double clicks?!? - When mouse click after 'r' command, get character that was pointed to. Crypt and security: 8 Also crypt the swapfile, each block separately. Change mf_write() and mf_read(). How to get b_p_key to these functions? Argument list: 6 Add command to put all filenames from the tag files in the argument list. When given an argument, only use the files where that argument matches (like `grep -l ident`) and jump to the first match. 6 Add command to form an args list from all the buffers? Registers: 8 Don't display empty registers with ":display". (Etienne) 8 Make the # register writable, so that it can be restored after jumping around in windows. 8 Add put command that overwrites existing text. Should also work for blocks. Useful to move text around in a table. Works like using "R ^R r" for every line. 6 When yanking into the unnamed registers several times, somehow make the previous contents also available (like it's done for deleting). What register names to use? g"1, g"2, etc.? - When appending to a register, also report the total resulting number of lines. Or just say "99 more lines yanked", add the "more". - When inserting a register in Insert mode with CTRL-R, don't insert comment leader when line wraps? - The ":@r" commands should take a range and execute the register for each line in the range. - Add "P" command to insert contents of unnamed register, move selected text to position of previous deleted (to swap foo and bar in " + foo") 8 Should be able to yank and delete into the "/ register. How to take care of the flags (offset, magic)? Debug mode: 7 Add something to enable debugging when a remote message is received. 8 Add breakpoints for setting an option 8 Add breakpoints for assigning to a variable. 7 Add a watchpoint in the debug mode: An expression that breaks execution when evaluating to non-zero. Add the "watchadd expr" command, stop when the value of the expression changes. ":watchdel" deletes an item, ":watchlist" lists the items. (Charles Campbell) 7 Store the history from debug mode in viminfo. 7 Make the debug mode history available with histget() et al. Various improvements: 8 ":sign unplace * file={filename}" should work. Also: ":sign unplace * buffer={bufnr}". So one can remove all signs for one file/buffer. 7 Add plugins for formatting? Should be able to make a choice depending on the language of a file (English/Korean/Japanese/etc.). Setting the 'langformat' option to "chinese" would load the "format/chinese.vim" plugin. The plugin would set 'formatexpr' and define the function being called. Edward L. Fox explains how it should be done for most Asian languages. (2005 Nov 24) Alternative: patch for utf-8 line breaking. (Yongwei Wu, 2008 Feb 23) 7 [t to move to previous xml/html tag (like "vatov"), ]t to move to next ("vatv"). 7 [< to move to previous xml/html tag, e.g., previous <li>. ]< to move to next <li>, ]< to next </li>, [< to previous </li>. 8 Add ":rename" command: rename the file of the current buffer and rename the buffer. Buffer may be modified. 7 Instead of filtering errors with a shell script it should be possible to do this with Vim script. A function that filters the raw text that comes from the 'makeprg'? - Add %b to 'errorformat': buffer number. (Yegappan Lakshmanan / Suresh Govindachar) 7 Add a command that goes back to the position from before jumping to the first quickfix location. ":cbefore"? 6 In the quickfix window statusline add the command used to get the list of errors, e.g. ":make foo", ":grep something *.c". 6 Python interface: add vim.message() function. (Michal Vitecek, 2002 Nov 5) 7 Support using ":vert" with User commands. Add expandable items <vert>. Do the same for ":browse" and ":confirm"? For ":silent" and ":debug" apply to the whole user command. More general: need a way to access command modifiers in a user command. Assign them to a v: variable? 7 Allow a window not to have a statusline. Makes it possible to use a window as a buffer-tab selection. 7 Add an invisible buffer which can be edited. For use in scripts that want to manipulate text without changing the window layout. 8 Add a command to revert to the saved version of file; undo or redo until all changes are gone. 6 "vim -q -" should read the list of errors from stdin. (Gautam Mudunuri) 8 Add "--remote-fail": When contacting the server fails, exit Vim. Add "--remote-self": When contacting the server fails, do it in this Vim. Overrules the default of "--remote-send" to fail and "--remote" to do it in this Vim. 8 When Vim was started without a server, make it possible to start one, as if the "--servername" argument was given. ":startserver <name>"? 8 No address range can be used before the command modifiers. This makes them difficult to use in a menu for Visual mode. Accept the range and have it apply to the following command. 8 Add the possibility to set 'fileformats' to force a format and strip other CR characters. For example, for "dos" files remove CR characters at the end of the line, so that a file with mixed line endings is cleaned up. To just not display the CR characters: Add a flag to 'display'? 7 Some compilers give error messages in which the file name does not have a path. Be able to specify that 'path' is used for these files. 7 Xterm sends <Esc>O3F for <M-End>. Similarly for other <M-Home>, <M-Left>, etc. Combinations of Alt, Ctrl and Shift are also possible. Recognize these to avoid inserting the raw byte sequence, handle like the key without modifier (unless mapped). 7 Support ":browse edit" in console, using explorer.vim? 6 Add "gG": like what "gj" is to "j": go to the N'th window line. 8 Add command like ":normal" that accepts <Key> notation like ":map". 9 Support ACLs on more systems. 7 Add ModeMsgVisual, ModeMsgInsert, etc. so that each mode message can be highlighted differently. 7 Add a message area for the user. Set some option to reserve space (above the command line?). Use an ":echouser" command to display the message (truncated to fit in the space). 7 Add %s to 'keywordprg': replace with word under the cursor. (Zellner) 8 Support printing on Unix. Can use "lpansi.c" as an example. (Bookout) 8 Add put command that replaces the text under it. Esp. for blockwise Visual mode. 7 Enhance termresponse stuff: Add t_CV(?): pattern of term response, use regexp: "\e\[[>?][0-9;]*c", but only check just after sending t_RV. 7 Add "g|" command: move to N'th column from the left margin (after wrapping and applying 'leftcol'). Works as "|" like what "g0" is to "0". 7 Support setting 'equalprg' to a user function name. 7 Highlight the characters after the end-of-line differently. 7 When 'whichwrap' contains "l", "$dl" should join lines? 8 Add an argument to configure to use $CFLAGS and not modify it? (Mooney) 8 Enabling features is a mix of configure arguments and defines in feature.h. How to make this consistent? Feature.h is required for non-unix systems. Perhaps let configure define CONF_XXX, and use #ifdef CONF_XXX in feature.h? Then what should min-features and max-features do? 8 Add "g^E" and "g^Y", to scroll a screen-full line up and down. 6 Add ":timer" command, to set a command to be executed at a certain interval, or once after some time has elapsed. (Aaron) Perhaps an autocommand event like CursorHold is better? 8 Add ":confirm" handling in open_exfile(), for when file already exists. 8 When quitting with changed files, make the dialog list the changed file and allow "write all", "discard all", "write some". The last one would then ask "write" or "discard" for each changed file. Patch in HierAssist does something like this. (Shah) 7 Use growarray for replace stack. 7 Have a look at viH (Hellenic or Greek version of Vim). But a solution outside of Vim might be satisfactory (Haritsis). 3 Make "2d%" work like "d%d%" instead of "d2%"? 7 "g CTRL-O" jumps back to last used buffer. Skip CTRL-O jumps in the same buffer. Make jumplist remember the last ten accessed buffers? - Keep a list of most recently used files for each window, use "[o" to go back (older file) and "]n" to go forward (newer file) (like ^O and ^I for jumps). (Webb) Use ":files" and ":ls" to list the files in history order. 7 Add a history of recently accessed buffer. Maybe make "2 CTRL-^" jump to the 2nd previously visited buffer, "3 CTRL-^" to the third, etc. Or use "3 g CTRL-^" for this? - Add code to disable the CAPS key when going from Insert to Normal mode. - Set date/protection/etc. of the patchfile the same as the original file. - Use growarray for termcodes[] in term.c - Add <window-99>, like <cword> but use filename of 99'th window. 7 Add a way to change an operator to always work characterwise-inclusive (like "v" makes the operator characterwise-exclusive). "x" could be used. - Make a set of operations on list of names: expand wildcards, replace home dir, append a string, delete a string, etc. - Remove mktemp() and use tmpname() only? Ctags does this. - When replacing environment variables, and there is one that is not set, turn it into an empty string? Only when expanding options? (Hiebert) - Option to set command to be executed instead of producing a beep (e.g. to call "play newbeep.au"). - Add option to show the current function name in the status line. More or less what you find with "[[k", like how 'cindent' recognizes a function. (Bhatt). - "[r" and "]r": like "p" and "P", but replace instead of insert (esp. for blockwise registers). - Add 'timecheck' option, on by default. Makes it possible to switch off the timestamp warning and question. (Dodt). - Add an option to set the time after which Vim should check the timestamps of the files. Only check when an event occurs (e.g., character typed, mouse moved). Useful for non-GUI versions where keyboard focus isn't noticeable. - Make 'smartcase' work even though 'ic' isn't set (Webb). 7 When formatting text, allow to break the line at a number of characters. Use an option for this: 'breakchars'? Useful for formatting Fortran code. - Add flag to 'formatoptions' to be able to format book-style paragraphs (first line of paragraph has larger indent, no empty lines between paragraphs). Complements the '2' flag. Use '>' flag when larger indent starts a new paragraph, use '<' flag when smaller indent starts a new paragraph. Both start a new paragraph on any indent change. 8 The 'a' flag in 'formatoptions' is too dangerous. In some way only do auto-formatting in specific regions, e.g. defined by syntax highlighting. 8 Allow using a trailing space to signal a paragraph that continues on the next line (MIME text/plain; format=flowed, RFC 2646). Can be used for continuous formatting. Could use 'autoformat' option, which specifies a regexp which triggers auto-formatting (for one line). ":set autoformat=\\s$". - Be able to redefine where a sentence stops. Use a regexp pattern? - Support multi-byte characters for sentences. Example from Ben Peterson. 7 Add command "g)" to go to the end of a sentence, "g(" to go back to the end of a sentence. (Servatius Brandt) - Be able to redefine where a paragraph starts. For "[[" where the '{' is not in column 1. 6 Add ":cdprev": go back to the previous directory. Need to remember a stack of previous directories. We also need ":cdnext". 7 Should ":cd" for MS-DOS go to $HOME, when it's defined? - Make "gq<CR>" work on the last line in the file. Maybe for every operator? - Add more redirecting of Ex commands: :redir #> bufname :redir #>> bufname (append) - Give error message when starting :redir: twice or using END when no redirection was active. - Setting of options, specifically for a buffer or window, with ":set window.option" or ":set buffer.option=val". Or use ":buffer.set". Also: "buffer.map <F1> quit". 6 Would it be possible to change the color of the cursor in the Win32 console? (Klaus Hast) - Add :delcr command: *:delcr* :[range]delcr[!] Check [range] lines (default: whole buffer) for lines ending in <CR>. If all lines end in <CR>, or [!] is used, remove the <CR> at the end of lines in [range]. A CTRL-Z at the end of the file is removed. If [range] is omitted, or it is the whole file, and all lines end in <CR> 'textmode' is set. {not in Vi} - Should integrate addstar() and file_pat_to_reg_pat(). - When working over a serial line with 7 bit characters, remove meta characters from 'isprint'. - Use fchdir() in init_homedir(), like in FullName(). - In win_update(), when the GUI is active, always use the scrolling area. Avoid that the last status line is deleted and needs to be redrawn. - That "cTx" fails when the cursor is just after 'x' is Vi compatible, but may not be what you expect. Add a flag in 'cpoptions' for this? More general: Add an option to allow "c" to work with a null motion. - Give better error messages by using errno (strerror()). - Give "Usage:" error message when command used with wrong arguments (like Nvi). - Make 'restorescreen' option also work for xterm (and others), replaces the SAVE_XTERM_SCREEN define. 7 Support for ":winpos" In xterm: report the current window position. - Give warning message when using ":set t_xx=asdf" for a termcap code that Vim doesn't know about. Add flag in 'shortmess'? 6 Add ":che <file>", list all the include paths which lead to this file. - For a commandline that has several commands (:s, :d, etc.) summarize the changes all together instead of for each command (e.g. for the rot13 macro). - Add command like "[I" that also shows the tree of included files. - ":set sm^L" results in ":set s" because short names of options are also expanded. Is there a better way to do this? - Add ":@!" command, to ":@" like what ":source!" is to ":source". 8 Add ":@:!": repeat last command with forceit set. - Should be possible to write to a device, e.g. ":w! /dev/null". - Add 't_normal': Used whenever t_me, t_se, t_ue or t_Zr is empty. - ":cab map test ^V| je", ":cunab map" doesn't work. This is vi compatible! - CTRL-W CTRL-E and CTRL-W CTRL-Y should move the current window up or down if it is not the first or last window. - Include-file-search commands should look in the loaded buffer of a file (if there is one) instead of the file itself. 7 Change 'nrformats' to include the leader for each format. Example: nrformats=hex:$,binary:b,octal:0 Add setting of 'nrformats' to syntax files. - 'path' can become very long, don't use NameBuff for expansion. - When unhiding a hidden buffer, put the same line at top of the window as the one before hiding it. Or: keep the same relative cursor position (so many percent down the windows). - Make it possible for the 'showbreak' to be displayed at the end of the line. Use a comma to separate the part at the end and the start of the line? Highlight the linebreak characters, add flag in 'highlight'. - Some string options should be expanded if they have wildcards, e.g. 'dictionary' when it is "*.h". - Use a specific type for number and boolean options, making it possible to change it for specific machines (e.g. when a long is 64 bit). - Add option for <Insert> in replace mode going to normal mode. (Nugent) - Add a next/previous possibility to "[^I" and friends. - Add possibility to change the HOME directory. Use the directory from the passwd file? (Antwerpen) 8 Add commands to push and pop all or individual options. ":setpush tw", ":setpop tw", ":setpush all". Maybe pushing/popping all options is sufficient. ":setflush" resets the option stack? How to handle an aborted mapping? Remember position in tag stack when mapping starts, restore it when an error aborts the mapping? - Change ":fixdel" into option 'fixdel', t_del will be adjusted each time t_bs is set? (Webb) - "gc": goto character, move absolute character positions forward, also counting newlines. "gC" goes backwards (Weigert). - When doing CTRL-^, redraw buffer with the same topline. (Demirel) Store cursor row and window height to redraw cursor at same percentage of window (Webb). - Besides remembering the last used line number of a file, also remember the column. Use it with CTRL-^ et. al. - Check for non-digits when setting a number option (careful when entering hex codes like 0xff). - Add option to make "." redo the "@r" command, instead of the last command executed by it. Also to make "." redo the whole mapping. Basically: redo the last TYPED command. - Support URL links for ^X^F in Insert mode, like for "gf". - Support %name% expansion for "gf" on Windows. - Make "gf" work on "file://c:/path/name". "file:/c:/" and "file:///c:/" should also work? - Add 'urlpath', used like 'path' for when "gf" used on an URL? 8 When using "gf" on an absolute file name, while editing a remote file starts with scp:// or http:// should prepend the method and machine name. - When finding an URL or file name, and it doesn't exist, try removing a trailing '.'. - Add ":path" command modifier. Should work for every command that takes a file name argument, to search for the file name in 'path'. Use find_file_in_path(). - Highlight control characters on the screen: Shows the difference between CTRL-X and "^" followed by "X" (Colon). - Integrate parsing of cmdline command and parsing for expansion. - Create a program that can translate a .swp file from any machine into a form usable by Vim on the current machine. - Add ":noro" command: Reset 'ro' flag for all buffers, except ones that have a readonly file. ":noro!" will reset all 'ro' flags. - Add a variant of CTRL-V that stops interpretation of more than one character. For entering mappings on the command line where a key contains several special characters, e.g. a trailing newline. - Add regex for 'paragraphs' and 'sections': 'parare' and 'sectre'. Combine the two into a regex for searching. (Ned Konz) - Make '2' option in 'formatoptions' also work inside comments. - Add 's' flag to 'formatoptions': Do not break when inside a string. (Dodt) - When window size changed (with the mouse) and made too small, set it back to the minimal size. - Add "]>" and "[<", shift comment at end of line (command; /* comment */). - Should not call cursorcmd() for each vgetc() in getcmdline(). - ":split file1 file2" adds two more windows (Webb). - Don't give message "Incomplete last line" when editing binary file. - Add ":a", ":i" for preloading of named buffers. - Allow autowrite when doing ":e file" (with an option 'eaw'). - Allow a "+command" argument before each file name in the Vim command line: "vim +123 file1 +234 file2 +345 file3". ??? - When entering text, keep other windows on same buffer updated (when a line entered)? - Check out how screen does output optimizing. Apparently this is possible as an output filter. - In dosub() regexec is called twice for the same line. Try to avoid this. - Window updating from memline.c: insert/delete/replace line. - Optimize ml_append() for speed, esp. for reading a file. - V..c should keep indent when 'ai' is set, just like [count]cc. - Updatescript() can be done faster with a string instead of a char. - Screen updating is inefficient with CTRL-F and CTRL-B when there are long lines. - Uppercase characters in ex commands can be made lowercase? 8 Add option to show characters in text not as "|A" but as decimal ("^129"), hex ("\x81") or octal ("\201") or meta (M-x). Nvi has the 'octal' option to switch from hex to octal. Vile can show unprintable characters in hex or in octal. 7 Tighter integration with xxd to edit binary files. Make it more easy/obvious to use. Command line argument? - How does vi detect whether a filter has messed up the screen? Check source. After ":w !command" a wait_return? - Improve screen updating code for doput() (use s_ins()). - With 'p' command on last line: scroll screen up (also for terminals without insert line command). - Use insert/delete char when terminal supports it. - Optimize screen redraw for slow terminals. - Optimize "dw" for long row of spaces (say, 30000). - Add "-d null" for editing from a script file without displaying. - In Insert mode: Remember the characters that were removed with backspace and re-insert them one at a time with <key1>, all together with <key2>. - Amiga: Add possibility to set a keymap. The code in amiga.c does not work yet. - Implement 'redraw' option. - Add special code to 'sections' option to define something else but '{' or '}' as the start of a section (e.g. one shiftwidth to the right). 7 Allow using Vim in a pipe: "ls | vim -u xxx.vim - | yyy". Only needs implementing ":w" to stdout in the buffer that was read from stdin. Perhaps writing to stdout will work, since stderr is used for the terminal I/O. 8 Allow opening an unnamed buffer with ":e !cmd" and ":sp !cmd". Vile can do it. - Add commands like ]] and [[ that do not include the line jumped to. - When :unab without matching "from" part and several matching "to" parts, delete the entry that was used last, instead of the first in the list. - Add text justification option. - Set boolean options on/off with ":set paste=off", ":set paste=on". - After "inv"ing an option show the value: ":set invpaste" gives "paste is off". - Check handling of CTRL-V and '\' for ":" commands that do not have TRLBAR. - When a file cannot be opened but does exist, give error message. - Amiga: When 'r' protection bit is not set, file can still be opened but gives read errors. Check protection before opening. - When writing check for file exists but no permission, "Permission denied". - If file does not exists, check if directory exists. - MSDOS: although t_cv and t_ci are not set, do invert char under cursor. - Settings edit mode: make file with ":set opt=xx", edit it, parse it as ex commands. - ":set -w all": list one option per line. - Amiga: test for 'w' flag when reading a file. - :table command (Webb) - Add new operator: clear, make area white (replace with spaces): "g ". - Add command to ":read" a file at a certain column (blockwise read?). - Add sort of replace mode where case is taken from the old text (Goldfarb). - Allow multiple arguments for ":read", read all the files. - Support for tabs in specific columns: ":set tabcol=8,20,34,56" (Demirel). - Add 'searchdir' option: Directories to search for file name being edited (Demirel). - Modifier for the put command: Change to linewise, charwise, blockwise, etc. - Add commands for saving and restoring options ":set save" "set restore", for use in macro's and the like. - Keep output from listings in a window, so you can have a look at it while working in another window. Put cmdline in a separate window? - Add possibility to put output of ex commands in a buffer or file, e.g. for ":set all". ":r :set all"? - 'edit' option: When off changing the buffer is not possible (Really read-only mode). - When the 'equalalways' option is set, creating a new window should not result in windows to become bigger. Deleting a window should not result in a window to become smaller (Webb). - When resizing the whole Vim window, the windows inside should be resized proportionally (Webb). - Include options directly in option table, no indirect pointers. Use mkopttab to make option table? - When doing ":w dir", where "dir" is a directory name, write the current file into that directory, with the current file name (without the path)? - Support for 'dictionary's that are sorted, makes access a lot faster (Haritsis). - Add "^Vrx" on the command line, replace with contents of register x. Used instead of CTRL-R to make repeating possible. (Marinichev) - Add "^Vb" on the command line, replace with word before or under the cursor? - Option to make a .swp file only when a change is made (Templeton). - Support mapping for replace mode and "r" command (Vi doesn't do this)? 5 Add 'ignorefilecase' option: Ignore case when expanding file names. ":e ma<Tab>" would also find "Makefile" on Unix. 8 Sorting of filenames for completion is wrong on systems that ignore case of filenames. Add 'ignorefncase' option. When set, case in filenames is ignored for sorting them. Patch by Mike Williams: ~/vim/patches/ignorefncase. Also change what matches? Or use another option name. 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) 6 Make it configurable when "J" inserts a space or not. Should not add a space after "(", for example. 5 When inserting spaces after the end-of-line for 'virtualedit', use tabs when the user wants this (e.g., add a "tab" field to 'virtualedit'). (Servatius Brandt) From Elvis: - Use "instman.sh" to install manpages? - Add ":alias" command. - fontchanges recognized "\\fB" etc. - Search patterns: \@ match word under cursor. but do: \@w match the word under the cursor? \@W match the WORD under the cursor? 8 ":window" command: :win + next window (up) :win ++ idem, wrapping :win - previous window (down) :win -- idem, wrapping :win nr to window number "nr" :win name to window editing buffer "name" 7 ":cc" compiles a single file (default: current one). 'ccprg' option is program to use with ":cc". Use ":compile" instead of ":cc"? From Nvi: - 'searchincr' option, alias for 'incsearch'? - 'leftright' option, alias for 'nowrap'? - Have a look at "vi/doc/vi.chart", for Nvi specialties. 8 Add 'keytime', time in 1/10 sec for mapping timeout? - Add 'filec' option as an alternative for 'wildchar'. 6 Support Nvi command names as an alias: :bg :hide :fg fname :buf fname (with 'hidden' set?) :dis b :ls :Edit fname :split fname :Fg fname :sbuf fname (with 'hidden' set?) :Next :snext (can't do this, already use :Next) :Previous :sprevious :Tag :stag From xvi: - CTRL-_ : swap 8th bit of character. - Add egrep-like regex type, like xvi (Ned Konz) or Perl (Emmanuel Mogenet) From vile: - When horizontal scrolling, use '>' for lines continuing right of a window. - Support putting .swp files in /tmp: Command in rc.local to move .swp files from /tmp to some directory before deleting files. Far future and "big" extensions: - Instead of using a Makefile and autoconf, use a simple shell script to find the C compiler and do everything with C code. Translate something like an Aap recipe and configure.in to C. Avoids depending on Python, thus will work everywhere. With batch file to find the C compiler it would also work on MS-Windows. - Make it easy to setup Vim for groups of users: novice vi users, novice Vim users, C programmers, xterm users, GUI users,... - Change layout of blocks in swap file: Text at the start, with '\n' in between lines (just load the file without changes, except for Mac). Indexes for lines are from the end of the block backwards. It's the current layout mirrored. - Make it possible to edit a register, in a window, like a buffer. - Add stuff to syntax highlighting to change the text (upper-case keywords, set indent, define other highlighting, etc.). - Mode to keep C-code formatted all the time (sort of on-line indent). - Several top-level windows in one Vim session. Be able to use a different font in each top-level window. - Allow editing above start and below end of buffer (flag in 'virtualedit'). - Smart cut/paste: recognize words and adjust spaces before/after them. - Add open mode, use it when terminal has no cursor positioning. - Special "drawing mode": a line is drawn where the cursor is moved to. Backspace deletes along the line (from jvim). - Implement ":Bset", set option in all buffers. Also ":Wset", set in all windows, ":Aset, set in all arguments and ":Tset", set in all files mentioned in the tags file. Add buffer/arg range, like in ":2,5B%s/..." (do we really need this???) Add search string: "B/*.c/%s/.."? Or ":F/*.c/%s/.."? - Support for underlining (underscore-BS-char), bold (char-BS-char) and other standout modes switched on/off with , 'overstrike' option (Reiter). - Add vertical mode (Paul Jury, Demirel): "5vdw" deletes a word in five lines, "3vitextESC" will insert "text" in three lines, etc.. 4 Recognize l, #, p as 'flags' to EX commands: :g/RE/#l shall print lines with line numbers and in list format. :g/RE/dp shall print lines that are deleted. POSIX: Commands where flags shall apply to all lines written: list, number, open, print, substitute, visual, &, z. For other commands, flags shall apply to the current line after the command completes. Examples: :7,10j #l Join the lines 7-10 and print the result in list - Allow two or more users to edit the same file at the same time. Changes are reflected in each Vim immediately. Could work with local files but also over the internet. See http://www.codingmonkeys.de/subethaedit/. When using "do" or ":diffget" in a buffer with changes in every line an extra empty line would appear. top - main help file


SparkWeb is an IM client most commonly used in combination with OpenFire. I will show you how to install it on Ubuntu 14.04.
Step 1:
Make sure you system is updated.
sudo apt-get update && sudo apt-get upgrade
Step 2:
Download dependencies.
sudo apt-get install lamp-server^
Step 3:
Navigate to the correct directory.
cd /var/www/html
Step 4:
Create directory for SparkWeb.
sudo mkdir -p webchat && cd
Step 5:
Download SparkWeb.
wget http://www.igniterealtime.org/downloadServlet?filename=sparkweb/sparkweb_0_9_0.zip
Step 6:
Unpack .zip file.
sudo unzip -j sparkweb_0_9_0.zip
Step 7:
Remove .zip file.
sudo rm sparkweb_0_9_0.zip
Step 8:
Rename SparkWeb to index.
sudo mv SparkWeb.html index.html
Step 9:
Now change edit index.html to work with your local OpenFire server.
sudo nano index.html
Change only line 32
from 'igniterealtime.org' to 'server.local'
Step 10:
Open your browser and go to your http://yourdomain.com/webchat


The celebrity chef, who hails from Italy, made the blunder in conversation with presenters Holly Willoughby and Phillip Schofield over the scent of truffles.
‘Not many people like truffle because of the smell,’ Gino began, before going onto explain that if you give the fungus a good old sniff you can get over any distaste for its aroma.
‘For people at home and you don’t like it, do this experiment,’ he continued as he instructed Holly to close her eyes as he tried it out on her. ‘I’m going to open and what I want you to do is to just analate it. Analate it as much as you can.
‘The more you do that, analate…’
But before Gino could continue, Holly and Phil stopped him in his tracks and corrected him.
Gino then attempted to say ‘inhale it’ correctly but stumbled over his pronunciation, causing Phil to urge him to ‘stop’ trying.
Naturally, audiences were in stitches over Gino’s mistake and shared their thoughts on Twitter through tears of laughter.
‘Gino Anal’ing truffle on This Morning is the highlight of my morning,’ wrote one.
Echoing a similar sentiment, another added: ‘Gino D’campo strikes again.’
Viewers were in stitches over Gino D’Acampo’s pronunciation
Elsewhere on today’s show, Holly and Phil continued presenting as normal despite reports that some presenters have ‘complained about Phil’s behaviour’.
The hosts returned to front the show and didn’t mention allegations that their partnership is strained, with the episode kicking off with them both sat on a Ferris wheel outside the London studios.
Holly and Phil were joined by the likes of Aled Jones, Russell Watson and Martin Lewis over the course of the shows two hours.
This Morning airs weekdays at 10.30am on ITV.
Got a showbiz story?
If you've got a celebrity story, video or pictures get in touch with the Metro.co.uk entertainment team by emailing us<EMAIL_ADDRESS>calling 020 3615 2145 or by visiting our Submit Stuff page - we'd love to hear from you.


Fill out this form with your information to generate a custom WP Engine email signature.
Copy the signature you want to use and paste into your email program.
|
|
|
E:
O: M: T: @ |
|
|
|
bayleys.co.nz |
Website
|
|
|
|
|
|
E:
O:
M:
|
|
|
|
bayleys.co.nz |
Website
|


--- layout: default title: A personal blog about software development and other technical things... description: A personal blog for Howard Lu, a software developer based in Victoria, British Columbia og_type: website group: blog lastmod: 2013-09-10 19:55 --- {% if 1 == paginator.page %}


Yes
No
Have you donated Blood before?
Yes
No
Have you donated the blood in past 8 weeks?
Yes
No
Had piercing or tattoo done within 12 months?
Yes
No
Temparature above 99.5 F or taken any medication in the past 10 days?
Yes
No
Bleeding condition: Have any blood clot problems?
Yes
No
Are you Alcoholic or Smoker or Have you consumed any of these yesterday?
Yes
No
Have been diagnosed with HIV/AIDS, Hepatitis B, or Hepatitis C
Yes
No
Have ever used needles to take drugs, steroids, or anything not prescribed by your doctor
Yes
No
Have had syphilis or gonorrhea in the past 12 months
Yes
No
In the past 12 months have been in juvenile detention, lockup, jail, or prison for more than 72 hours
Yes
No
Have spent 5 years or more (total) in Europe since 1980
Yes
No
Have visited a malarial-endemic country within the last year
Yes
No
Please select your blood group ?
Blood Group
O+
O-
A+
A-
B+
B-
AB+
AB-
Name:
Submit


Refugees, Men, Women, Children, Education, Hope, Play, Shelter, Sanitation, Health, Border, Elderly
GREECE
IRAQ
LEBANON
LEBANON
LEBANON
IRAQ
LEBANON
JORDAN
JORDAN
JORDAN
LEBANON
LEBANON
Leilah can't hold back the tears when she leafs through the family photo album. It's the only thing she managed to bring with her from Syria – a potent reminder of better days with her husband and six children in their home country. They led a happy and relatively comfortable life running a small village shop in northern Syria until the war broke out more than two years ago. Today, the 40-year-old Leilah lives in a dilapidated apartment in Athens with her children, two of whom were out looking for work when UNHCR visited. Her husband remained in Syria and she has no idea if he is safe or not...READ MORE
The UN refugee agency announced on Friday that the number of Syrian civilians who have fled their country to escape conflict has passed the 1.5 million mark. "The Syrian conflict continues to have a devastating impact on the lives of those who are forced to flee," added UNHCR spokesman Dan McNorton in Geneva. He told journalists in Geneva that the real number was probably much higher, adding that "this is due to concerns that some Syrians have regarding registration." The widening gap between the needs and resources available is a growing challenge, McNorton stressed. UNHCR has registered close to 1 million refugees since the beginning of the year – this is about 250,000 people each month. Early next month, the UN and NGOs are due to announce a revised funding appeal for the Syria crisis....READ MORE
Popular Spanish TV presenter Jesús Vázquez visited Jordan this week to highlight the plight of hundreds of thousands of Syrian refugees, particularly the children, and to help raise urgently-needed funds for UNHCR's Syria crisis operation. "I'm here to listen to what you have to say so that I can help raise awareness in my country about your needs," the UNHCR Goodwill Ambassador told refugees on Tuesday in Za'atri camp, which is home to more than 100,000 people. "Even though the people of Spain are suffering from an economic crisis, they understand the drastic conditions you have been forced to endure," he said. "In Spain we have a crisis. Here the definition of crisis is life and death."...READ MORE
I met Samar yesterday at Zaatari Camp, after she had finished teaching a gaggle of young girls at a little school run by UNHCR's partner INTERSOS. Samar had been an elementary school teacher for 23 years and a principal for two years before she was forced to leave leave Syria. When she walks through the camp she often runs into the children that were under her care in her home town of Dara'a. I asked her about life in Dara'a during the conflict and her eyes began to well up. She told me about the day when eight members of her family were attacked by combatants while preparing the land to plant chickpeas. The telephone rang and they pleaded with her. "Don't send anyone to help us," her brother-in-law insisted. "We are already dead." As the man spoke, she looked down from her home onto the field and saw the explosions. "We could see them being killed even as we heard them die," she told me. Finally, the telephone went silent....READ MORE
Death - this is the title of this drawing by a Syrian refugee child in Lebanon. The picture was taken by UNHCR's Sybella Wilkes who published the photo today on The Guardian's Witness platform. Al Jazeera reports that since the beginning of the conflict in Syria Za'atri camp in Jordan has become the second largest refugee camp in the world. By the end of the war, Jordan could host up to two million Syrian refugees said Minister of Interior Hussein Majali, who spoke alongside UNHCR's Andrew Harper at a press conference. Since the beginning of the year the number of Syrian refugees has increased by one million - UNHCR's Panos Moumtzis...READ MORE
visit http://storify.com/unhcrmedia to see the latest roundup of syria/unhcr coverage in the news
Infographic - This week we hit 1.5 million Syrian @refugees - increase of 1 million in 2013 #Syria pic.twitter.com/sUQ6GhTUgk
Amazing! 1,511,976 #Syria'n refugees in the region. 1 million more since 1 January! Refugee crisis rapidly deteriorating!
Cleaning up my desk & came across our #syrian registration figures from Mar 2012. It was 4,000. Just over a year later it is now + 400,000
UNHCR chief condemns 'despicable' attacks on Turkish people + #Syria refugees http://www.unhcr.org/518e97526.html via @Refugees
Shocking. 1/5th of the Syrian population displaced inside #Syria: 4.25 million people http://bit.ly/16dqwLn #syriaresponse
< UNHCR SOCIAL MEDIA
LEBANON
IRAQ
IRAQ
IRAQ
LEBANON
JORDAN
JORDAN
JORDAN
JORDAN
IRAQ
IRAQ
LEBANON


Calendar View
You
Sherman Lee
Karan Lala
Luis Llobera
Tyler Ly
Mohan Paturi
More about us?
Talk to us at table 70!


Aghs is a 2D coffeescript game framework, with a straight-forward plugin system.
... yep.
Aghs is focused on functioning on primarily webkit-based engines.
Aghs
Aghs is a 2D coffeescript game framework, with a straight-forward plugin system.
Aghs intends to provide
Roadmap
... yep.
Webkit focus
Aghs is focused on functioning on primarily webkit-based engines.