What is a Vim Tip?[]
A Vim Tip is a nugget of advice which can help solve a particular problem using the Vim editor.
See About for how we started, and Community Portal for an overview, and information on how to ask questions.
Can a Vim Tip be a script?[]
As well as advice, a Vim Tip may include commands, or snippets of Vim script.
In some cases, a tip can also contain a large block of Vim script, however that is the exception. The Vim Tips wiki is intended to facilitate learning how to use Vim. Simply posting a script, or a link to a script, with no explanation of what it does and how it works, probably with a discussion of the considerations taken and decisions made during development, does not help anyone learn how to use Vim, and is discouraged.
The Vim scripts repository on the Vim website is the correct home for substantial scripts and plugins. The Vim scripts repository is also a great place to find ready-made solutions to a multitude of problems. The Vim Tips wiki is a community in which to share and develop your knowledge.
Should I publish my script here or at vim.org?[]
If you are willing to provide support and updates for your script as it evolves, then vim.org is the place to publish. It has a versioning and change log system so users of your script can keep up to date with new releases.
If you have a short and useful script, you could consider proposing a new tip with the script, if you add helpful descriptions and explanations.
If you create a user page, you are certainly welcome to place almost anything Vim-related under your own user name (including scripts that you may want some help developing) but these will probably not become an official VimTip. Consider other resources (such as google code or other free online version-controlled code repositories) if you want to do collaborative development of a serious script.
List of all accepted tips[]
See Category:VimTipProposed for tips that have not yet been accepted.
| Contents | Top · 0-9 · A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|---|
All items (1155)
-
Upload web files from Vim using Python
-
Category:Usage
-
Use :next to search for files in the current directory
-
Use a function key as map leader
-
Use a smaller font for vimdiff
-
Use abbreviations for frequently-used words
-
Use Alt-Mouse to select blockwise
-
Use balloonexpr effectively
-
Use Ctrl-O instead of Esc in insert mode mappings
-
Use cygwin shell
-
Use eval to create dynamic templates
-
Use filter commands to process text
-
Use gf to open a file via its URL
-
Use glimpse from within Vim
-
Use grep to get a clickable list of function names
-
Use gvim as an external editor for Linux apps
-
Use gvim as an external editor for Windows apps
-
Use gvim for diff under TortoiseCVS
-
Use gvim in kmail
-
Use gvim to view page source in Internet Explorer
-
Use ijkl to move the cursor and h to insert
-
Use integrated spell checking
-
Use K to easily run a Windows program for the current word
-
Use maven with quickfix
-
Use Python to build project in Visual Studio
-
Use recording to easily add function skeletons from prototypes
-
Use Return and Delete keys in normal mode like in insert mode
-
Use shortcut key to start gvim in Windows
-
Use tab key to switch windows and current file path
-
Use temporary tags file when browsing new source
-
Use the buffer menu in gvim
-
Use the console colors in gvim
-
Use the last-inserted-text register
-
Use the quickfix window to list all errors
-
Use the same runtime files for native-Windows Vim and cygwin Vim
-
Use Unix command-line tools in Windows
-
Use vi shortcuts in terminal
-
Use Vim like an IDE
-
Use Vim to expire your mail so Mutt will delete them later
-
User input from a script
-
Using abbreviations
-
Using an expression in substitute command
-
Using bar in external grep
-
Using bash completion with ctags and Vim
-
Using command-line history
-
Using Computer Modern TT as a gvim font under Windows
-
Using DDE to open the current Vim file in Visual Studio
-
Using elinks with netrw
-
Using embedded Perl interpreter
-
Using folders with latex
-
Using g instead of substitute
-
Using Git from Vim
-
Using Gnu-info help in vim
-
Using GUI color settings in a terminal
-
Using gvim as frontend for dbx
-
Using H and L keys as context sensitive pagedown/pageup
-
Using Ispell on a highlighted region
-
Using marks
-
Using netbeans 4 and vim for java
-
Using normal command in a script for searching
-
Using parameterized snippet inserts
-
Using PuTTY pscp with Vim
-
Using quickfix in a different way
-
Using remote editing with knetattach
-
Using selected text in a command
-
Using tab pages
-
Using TagList for ANT build files
-
Using terminal Vim as an external editor
-
Using the mouse for Vim in an xterm
-
Using the Windows clipboard in Cygwin Vim
- Using undo branches
-
Using vertical splits
-
Using vim as a man-page viewer under Unix
-
Using vim as a syntax-highlighting pager
-
Using vim as an IDE all in one
-
Using Vim as an outline processor
-
Using vim as calculator
-
Using vim color schemes with Putty
-
Using Vim key bindings while typing non-latin1 text
-
Using Vim to send mail on Windows
-
Using vim to view source and edit textarea in mozilla/firebird
-
Using Vim with the Dvorak keyboard layout
-
Using VimBall with make
-
Using your vim on different xterms with colors
-
Using ZSH completion with ctags and Vim
-
Uuencode and uudecode text in Vim
-
Verbose startup while avoiding File not found
-
Version Control for Vimfiles
-
Version independent installation of Vim on Windows
-
Very basic session persistence
-
Vi key bindings in gtk
-
View a Java Class File using a decompiler
-
View all colors available to gvim
-
View and diff MS Word files
-
View character class
-
View man pages in Vim
-
View NFO-files correctly
-
View only what you are editing
-
View PHP documentation for current word
-
View Source from Internet Explorer in gvim
-
View Source in IE6 using VIM
-
View text file in two columns
-
Viewing the actual XPM data in GVIM
-
Vim and cscope and cygwin
-
Vim and ocaml interpreter
-
Vim as a refactoring tool and some examples in C sharp
-
Vim as bookmark manager
-
Vim as XML Editor
-
Vim buffer FAQ
-
Vim can interact with xdvi
- Vim Doclet
-
Vim FAQ and other documentation
-
Vim goes Greek - Greek language support for Vim 6.1
-
Vim goes INTL - Translating Messages, Menus, Encodings
-
Vim in Microsoft Visual Foxpro
-
Vim inside Java
-
Vim IRC FAQ
-
Vim key bindings for web browsers
-
Vim on Libera Chat
-
Vim On Vista
-
Vim xterm title
- Vim-sessions under Mac
-
Vim-sessions under Windows
-
Vim-Shell embeds a terminal in Vim
-
VimLock mode to enter numbers
-
Visual marks
-
Visual selection
-
Visual selection of indent block
-
VisVim for Visual Studio
-
When jumping on a tag, automatically split the window if the current buffer has been modified
-
Where to download Vim
-
Whitespace hungry backspace/delete
-
Windo and restore current window
-
Window zooming convenience
- Windows file associations
-
Word count
-
Word frequency statistics for a file
-
Word under cursor for command
-
Word wrap without line breaks
-
Word-wise cut, copy and paste
-
Wordwise Ctrl-Y in insert mode
-
Working with CSV files
-
Working with multiple sessions
-
Working with only one term/console?
-
Working with Unicode
-
Wrap a visual selection in an HTML tag
-
Wrap function calls in a print statement
-
Wrap text in HTML/XML tags after prompting for the tag name
-
Wrap visual selection with fold markers
-
Write a date-stamped backup of the current file
-
Write your own Vim function
-
Writing a valid statusline
-
WYSIWYG graphics editing