insert result of ruby
Jeffrey Dik
jeffrey.dik at myrealbox.com
Tue Dec 20 17:59:39 EST 2005
For another approach, check out
http://eigenclass.org/hiki.rb?Ruby+support+for+Vim
http://www.rubygarden.org/ruby?VimXmp
http://www.rubygarden.org/ruby?VimExtensions
Hope that helps,
Jeff
On Tue, Dec 20, 2005 at 04:34:51PM -0600, Ryan Platte wrote:
> This should get you started:
>
> :help r!
>
> On 12/20/05, Jeff Rose <rosejn at gmail.com> wrote:
> > Anyone know if there is a way to run a small bit of ruby and insert the
> > result into the current buffer?
> >
> > I wanted to do something like this, but get the output into the buffer
> > rather than the command window:
> >
> > :ruby require 'date'; puts Date.today
> >
> > -Jeff
> >
> > _______________________________________________
> > vim-ruby-devel mailing list
> > vim-ruby-devel at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/vim-ruby-devel
> >
> >
>
>
> --
> Ryan Platte
>
> _______________________________________________
> vim-ruby-devel mailing list
> vim-ruby-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/vim-ruby-devel
>
More information about the vim-ruby-devel
mailing list