ruby-macros.vim : macros for the ruby language
| script karma
Downloaded by 4735
Comments, bugs, improvements
script versions (upload new version)
|This plugin is for editing ruby files.
Typing "for" on a blank line will result in
with the cursor positioned before the "in".
The same will happen with "while", "until",
and so on. But if the line is not blank,
"for" will just insert itself.
Also, symbols like " are inserted in matching
pairs, with the cursor in between.
"K" runs ruby on the current buffer, and
the "F1" function key puts a line
on the first line. (You will have to edit
|Put something like the following line in your .vimrc file:
autocmd Filetype ruby source ~/.Vim/ruby-macros.vim
or put this in an ftplugin directory in your runtime path.
Click on the package to download.
ip used for rating: 184.108.40.206