ruby-macros.vim : macros for the ruby language
| script karma
Downloaded by 4550
Comments, bugs, improvements
|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.
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 184.108.40.206