20 Dec 23:34
Re: insert result of ruby
Ryan Platte <ryan.platte <at> pobox.com>
2005-12-20 22:34:51 GMT
2005-12-20 22:34:51 GMT
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
RSS Feed