ruby-macros.vim : macros for the ruby language
script karma |
Rating 48/26,
Downloaded by 5493 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Carl Mueller |
|
script type |
ftplugin |
|
description |
This plugin is for editing ruby files.
Typing "for" on a blank line will result in
for in
end
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
#!/usr/math/bin/ruby
on the first line. (You will have to edit
this part).
|
|
install details |
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. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.172
|