sponsor Vim development Vim logo Vim Book Ad

tcommand : Select and execute a command or menu item from a list

 script karma  Rating 12/6, Downloaded by 1490  Comments, bugs, improvements  Vim wiki

created by
Tom Link
script type
Also available via git: http://github.com/tomtom/tcommand_vim

VIM plugins are cool but with time you forget about even useful
commands. This plugin provides a command (|:TCommand|) that lets you
select a command or menu item from a list (you can optionally display
help on the currently hightlighted command) and then run it from the
command line. It thus provides an alternative to the built-in
command-line completion.
install details
Edit the vba file and type: >

    :so %

See :help vimball for details. If you have difficulties or use vim 7.0,
please make sure, you have the current version of vimball
(vimscript #1502) installed or update your runtime.

This script requires tlib (vimscript #1863) to be installed.


Suggested maps (to be set in your |vimrc| file): >

    noremap <Leader>: :TCommand<cr>

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
tcommand.vba 0.03 2012-02-08 7.0 Tom Link - s:FormatItem(): Items with comments had a wrong number of tabs (fixed by Sergio Nobre)
- CollectCommands(): Only half of the commands were included in the list
- The original view wasn't always properly restored
- F1 (help on commands) didn't always work
MD5 checksum: fbb7ffb5583d9a1c37eadfacb2970825
tcommand.vba 0.2 2010-11-01 7.0 Tom Link Please see http://github.com/tomtom/tcommand_vim/commits/master/
MD5 checksum: f36d1eadd726c4b39616c6dd9cef37d2
tcommand.vba 0.1 2010-03-13 7.2 Tom Link Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.