insert result of ruby

Ryan Platte ryan.platte at pobox.com
Tue Dec 20 17:34:51 EST 2005


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



More information about the vim-ruby-devel mailing list