command-list : create a list of command and display as needed
| script karma
Downloaded by 344
Comments, bugs, improvements
script versions (upload new version)
|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
For any question please put it on this script's wiki page
|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
Click on the package to download.
ip used for rating: 188.8.131.52