20 Dec 23:59
Re: insert result of ruby
Jeffrey Dik <jeffrey.dik <at> myrealbox.com>
2005-12-20 22:59:39 GMT
2005-12-20 22:59:39 GMT
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 >
RSS Feed