Wikia

Vim Tips Wiki

Changes: Script:Featured scripts

Edit

Back to page

(startup_profile: reference to --startuptime command-line option)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 10: Line 10:
 
:Supports 8 configurable colors and all combinations of formatting attributes (bold, underline, italic, standout, reverse, undercurl).
 
:Supports 8 configurable colors and all combinations of formatting attributes (bold, underline, italic, standout, reverse, undercurl).
 
:Txtfmt highlighting regions can nest within syntax regions created by other plugins such as TVO (The Vim Outliner).
 
:Txtfmt highlighting regions can nest within syntax regions created by other plugins such as TVO (The Vim Outliner).
:Use the <tt>:TOhtml</tt> command that ships with Vim to create an html version of the txtfmt buffer.
+
:Use the <code>:TOhtml</code> command that ships with Vim to create an html version of the txtfmt buffer.
 
:Nearly everything is configurable, with defaults to work "right out of the box".
 
:Nearly everything is configurable, with defaults to work "right out of the box".
 
:Complete documentation is in an extensive Vim help file.
 
:Complete documentation is in an extensive Vim help file.
Line 25: Line 25:
 
:Requires only a recent version of Python.
 
:Requires only a recent version of Python.
 
:Supports updating your Twitter status in Vim, and at the command line.
 
:Supports updating your Twitter status in Vim, and at the command line.
:Easily tweet from inside Vim by selecting text to send. You can select text and type <tt>\twit</tt> to have that text appear in your Twitter status, or use <tt>:%!twit</tt> to send the entire current document to Twitter.
+
:Easily tweet from inside Vim by selecting text to send. You can select text and type <code>\twit</code> to have that text appear in your Twitter status, or use <code>:%!twit</code> to send the entire current document to Twitter.
 
:You can set your username and password in the environment so they don't need to be repeatedly entered.
 
:You can set your username and password in the environment so they don't need to be repeatedly entered.
   
Line 50: Line 50:
 
:Plugin can generate a CSV file listing details of the scripts loaded when Vim starts.
 
:Plugin can generate a CSV file listing details of the scripts loaded when Vim starts.
 
:The list includes timing information to allow optimization of Vim's startup time, for example by delaying calls to functions in autoload files or by making use of the {{script|id=915|text=AsNeeded}} or {{script|id=2917|text=tplugin}} plugins.
 
:The list includes timing information to allow optimization of Vim's startup time, for example by delaying calls to functions in autoload files or by making use of the {{script|id=915|text=AsNeeded}} or {{script|id=2917|text=tplugin}} plugins.
:More precise timings can be obtained using the <tt>:profile</tt> command. {{help|:profile}}
+
:More precise timings can be obtained using the <code>:profile</code> command. {{help|:profile}}
 
:From version 7.3 on, vim has a --startuptime command-line option that can be used to achieve something similar.
 
:From version 7.3 on, vim has a --startuptime command-line option that can be used to achieve something similar.
   

Latest revision as of 09:54, July 14, 2012

Here are some scripts that may help your life with Vim! There are more at vim.org.

See Vim scripts for more information.

A plugin that provides word-processor style highlighting to beautify any type of text file.
The highlighting mechanism uses invisible tokens that are inserted into a Txtfmt buffer with easy to use mappings provided by the filetype plugin.
Each token affects either the color or formatting of subsequent text.
Supports 8 configurable colors and all combinations of formatting attributes (bold, underline, italic, standout, reverse, undercurl).
Txtfmt highlighting regions can nest within syntax regions created by other plugins such as TVO (The Vim Outliner).
Use the :TOhtml command that ships with Vim to create an html version of the txtfmt buffer.
Nearly everything is configurable, with defaults to work "right out of the box".
Complete documentation is in an extensive Vim help file.
A batch file using Vim to implement the less utility for Windows users.
Makes Vim a rewindable, syntax-highlighting, searchable pager.
Based upon less.sh from the macros directory of the Vim distribution.
Uses macros/less.vim in the 'runtimepath'.
Works with pipes as well as file names.
A stand-alone command-line Twitter status update client in Python.
Requires only a recent version of Python.
Supports updating your Twitter status in Vim, and at the command line.
Easily tweet from inside Vim by selecting text to send. You can select text and type \twit to have that text appear in your Twitter status, or use :%!twit to send the entire current document to Twitter.
You can set your username and password in the environment so they don't need to be repeatedly entered.
A plugin to automatically complete each word, after typing two or more characters.
Popup menu for word completion also appears when moving the cursor while in insert mode.
Behavior is customizable.
A plugin to generate call-trees for any function or macro in real-time, within Vim.
Functionality is similar to that of packages like KScope or Source-navigator. Requires Cscope.
A Perl package to manage Vim scripts. Supports vimball.
Can search, download and install or upgrade Vim scripts. Requires Perl.
Provides a command-line interface like the aptitude program on Debian Linux.
A Perl package to package Vim scripts for distribution.
Easy install, uninstall and upgrade of Vim scripts. Requires Perl.
Resolves dependencies.
Plugin can generate a CSV file listing details of the scripts loaded when Vim starts.
The list includes timing information to allow optimization of Vim's startup time, for example by delaying calls to functions in autoload files or by making use of the AsNeeded or tplugin plugins.
More precise timings can be obtained using the :profile command. :help :profile
From version 7.3 on, vim has a --startuptime command-line option that can be used to achieve something similar.

CommentsEdit

Around Wikia's network

Random Wiki