Vim Tips Wiki:Todo/catlist2 Edit History Talk0 1,605pages on this wiki < Vim Tips Wiki:Todo Revision as of 13:43, August 9, 2007 by Bastl (Talk | contribs) (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff) These tips need both review and categorization: A Access email@example.com using Newsgroup Reader Add trailing blanks to lines for easy visual blocks Add/change file extension in current buffer Alter the display of buffers in the buffers menu Always keep quickfix window at specified height Ampersand in freebsd shell commands to view LaTeX files Apply range to any command that does not accept ranges Autoconvert leading eight spaces to tab when type or paste in Makefile Automatically create tmp or backup directories Automatically maximizing gvim in KDE Automatically redate file headers Automatically set screen titleB Bookmarks as menu item Buffer bar to list buffersC Calculator Editing Calculator and code evaluation using Perl Capitalize words and regions easily Capitalize words in insert and normal modes without moving the cursor Capture SQL query output Change vimrc with auto reload Chop long lines Close vim you left open remotely Cobol editing with Vim ColdFusion and matchit Command line switch to source a script Command line tricks Compress Vim doc files to save space Console-like fonts for Windows GVim Context sensitive access to MSDN help Convenience wrapper for setline Converting LANG to UTF-8 Copy and paste between sessions using a temporary file Copy current file to another location from within vim Copy parts of filename to clipboard Correcting accented characters Create one mapping for both console and GUI Current buffer based menusD Delete files with a Vim command Delete some lines with some exceptions Delete words in a different way Dictionary completions Diff current buffer and the original file Disable F1 built-in help key Disable built-in command Disabling cabbrev Display date-and-time on status line Display last viewed text lines at top of new shell Drag words with Ctrl-left/right Duplicate previous line word by wordE Easy floating point arithmetic Easy indenting in insert and normal mode with no cursor displacement Easy word and page selection and deletion in gvim Edit Java jar and other files Edit a temporary copy of the current file Edit and organize several remote files easily Edit file found by whereis Edit gnupg-encrypted files Edit multiple files from a list of file names Editing databases with Vim/Perl/DBI Encrypt a file without leaving traces Enhance the calendar script with special dates Evaluate an expression in any mode Execute a shell command in the directory shown in file explorer Execute command on each file in a list Execute commands without changing the search register Execute sybase-sql queries and see the result in a split window Expand existing abbreviation Extending keywords External paste bufferF Fast one session mapping Fast start up in a telnet session Faster directory browsing from command line FileName Completion in Shell Scripts Fix arrow keys that display A B C D on remote shell Fix the x command in virtualedit mode For verilog users only Format only long lines Formatting stuffG Generate calendar file Get a shell command for changing to the current directory Get cursor position as byte percentage instead of line percentage Get inline help for PHP functions Get the vim patched source Get vim 5.x window in vim 6.x Getting name of the function Go away and come back Go to alternate file or next file if no alternate Go to end-of-line when using langmap Gtk gvim and fontconfigH Have . restore the cursor position a la emacs in viper mode How to avoid obliterating window layoutI Incremental backup in central backup directory I cont. Inline integer arithmetic Insert a non commented line despite formatoptions Insert a single character Insert comment boxes in your code Insert line numbers with a Perl filter Integrate Vim with a dictionary Invert the number row keys for faster typingJ JAVH - Just another Vim Hacker Joining two lines of text based on pattern Jump to definition of entity under cursor Jump to file from CVSDiff output Jumps to a local/global definition by same keyK Keep SQL-PLUS command history under Windows Keep incremental backups of edited files Keep passwords in encrypted file Keep the modified flag after writing to a file Keystroke Saving Substituting and SearchingL List buffers sorted by name Listing buffers Load files from list of filenames in a text file Lookup word in dictM Maintain cursor and screen position Maintain multiple versions of gvim in Windows Make great use of those homemade menus Make non-ASCII characters displayed on console Make tar of all files in vim buffer Mapping fast keycodes in terminal Vim Mapping to enter colon commands Matching optional parts of a word Maximize window and return to previous split structure Mbox archive emails Measure time taken to execute a command Menu for inserting special characters Move comment line to end of next line Move cursor by display lines when wrapping Move cursor up/down virtually in insert mode Move through wrapped lines Moving by screen lines instead of file lines Moving to the next word in insert modeN Navigate to the next open fold Not So Quick generic option toggling Numbering lines and interpolating sequencesO OEM to ANSI conversion One big window Online documentation for word under cursor Open file in already running vim from elsewhere Open same file read-only in second Vim Opening multiple files from a single command-line Opening several files in vim via ListFileP Page 1 of 123 in header of hardcopy Page up/down and keep cursor position Paste from the clipboard into a new vim Pasting registers Power K Preloading registers Press space to jump between windows and to expand them Prevent a second instance of Vim from starting Prevent escape from moving the cursor one character to the left Prevent frequent commands from slowing things down Preview output from interpreter in new window Prompted quit in insert-mode Protecting a file from accidental changes Put boxes around comments in codeQ Quick and dirty Postgres query Quick peak at files Quick save to a temporary file before more edits Quick window resizing Quickly insert a single word Quickly look up Vim helpR Recursive mappings Refresh screen while typing a command Rejustify roff style markup Reload your filetype/syntax plugin Remember my buffers Remember where you had ended reading help Remembering previous deletes/yanks Remove up to the nth slash to clean file lists Repeat command on each line in visual block Repeat last colon command Repeating a substitute from current cursor position Replace a visual-block of text with another such block Replace buffer list when switching Replace with no typing Resize window when showing/hiding line numbers Resize xterm when running vimdiff Restore state of edited files when reopened Reverse letters Reverse selected text Review code effectively using quickfixS Sample switch between number/nonumber Save buffer without changing Last Modified attribute Save settings between Vim sessions S cont. Saving file made easy Scroll alternate window Scroll using arrow keys like in a web browser Search JDK help for keyword at cursor Search and sort by selection Search only over a visual range Search the web for text selected in Vim Search through files Search without need to escape slash See man pages by gview See the tabs in your file Select tab page with a key Send buffer to interpreter in a new xterm Send to default printer with no prompts under Windows Set VIMRUNTIME within vimrc Shadow your comments to see the code Shebang line automatically generated Show file modification time and more on status bar Show file modification time on status bar Simple Macros to quote and unquote a word Simple code beautifier Simple placeholders Simple programmers TODO list using grep and quickfix Simple text alignment Skip blank lines when folding text Smarter Table Editing Smarter Table Editing II Sorting lines in a file based on the number of words in each line Source searching for programmers Special characters in the substitute command Specify a column with bar Speed up developing XSLT files Start in insert mode without losing your escape key Start with a wide window for diff Status line to display more information Statusline tab level ruler Step increment and replace Substitute characters and lines easily Suppressing file changed warnings in a specific buffer Switch between Vim window splits easily Switching between different statuslinesT Temporarily replace grep with a custom program Timer to execute commands periodically Toggle auto-wrap Toggle between tabs and spaces Toggle gvim window size Toggle spellcheck with function keys Toggle to open or close the quickfix window Trailing white space aware Delete key Transfer text between two Vim instances Transfer text between two gvim sessions using clipboard Translate HTML entity numbers to text Translate text between different character setsU Upload web files from Vim using Python Use K to easily run a Windows program for the current word Use Return and Delete keys in normal mode like in insert mode Use a smaller font for vimdiff Use balloonexpr effectively Use gvim as an external editor for Linux apps Use ijkl to move the cursor and h to insert Use tab key to switch windows and current file path Use the buffer menu in gvim Use the last-inserted-text register Using H and L keys as context sensitive pagedown/pageup Using Vim as an outline processor Using Vim key bindings while typing non-latin1 text Using bar in external grep Using g instead of substitute Using selected text in a command Using vertical splits Using vim to view source and edit textarea in mozilla/firebird Using your vim on different xterms with colors Uuencode and uudecode text in VimV Vi key bindings in gtk View NFO-files correctly View and diff MS Word files View character class View man pages in Vim Viewing the actual XPM data in GVIM Vim and ocaml interpreter Vim as bookmark manager Visual marks Visual selection of indent blockW Whitespace hungry backspace/delete Windo and restore current window Word under cursor for command Word-wise cut, copy and paste Wordwise Ctrl-Y in insert mode Working with multiple sessions Working with only one term/console? Write a date-stamped backup of the current file Writing a valid statusline Retrieved from "http://vim.wikia.com/wiki/Vim_Tips_Wiki:Todo/catlist2?oldid=8524"