command-list : create a list of command and display as needed
script karma |
Rating 0/2,
Downloaded by 880 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Vinh Tran |
|
script type |
utility |
|
description |
Command list allowed you to define a list(group) of command
Define a shortcut to display the list, from there you can choose a command to execute. Command list is written in ruby so your vim need +ruby supported
Screenshot:
http://vim.wikia.com/wiki/File:Screen_shot.png
For any question please put it on this script's wiki page
http://vim.wikia.com/wiki/Script:3268
|
|
install details |
unzip it in to you vim space. please read the doc/command-list.txt for how to set up the command list.
If you set up the map for the list, you can use the map shortcut to display
the shortcut or you can do it manually in your .vimrc as follow
map mapkey :ruby CommandList::display_command_list('Jump')<CR>
you can add multiple list into a single display by adding it to the parameters
of the display_command_list call. For example:
map mapkey :ruby CommandList::display_command_list('Jump', 'Format')<CR>
If no parameters is given, all the list will be displayed
There is a sample file: plugin/command-list.rb.sample for your reference.
*Updated*: you could also use the line number to choose the command, but only from 1 - 9 :D |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.188.252.203
|