insert result of ruby

Jeff Rose rosejn at gmail.com
Tue Dec 20 17:18:49 EST 2005


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



More information about the vim-ruby-devel mailing list