From: james@... Date: 2002-06-04T07:57:03+09:00 Subject: RE: Word for Windows Ruby Trick > > Neat. > > I'm writing (about various stuff) in GVim (in XHTML, DocBook); I select > a portion of Ruby code, then type > : > after this, > '<,'> > is printed at the commandline; the I can send (write) this snippet to > Ruby, with > w !ruby > > I call it with ;r > > map ;r :w !ruby I use some Ruby menu items that map a few function keys to Ruby calls (executing text, commenting/uncomment). I have it set up so that F5 runs ruby 1.6 and F7 runs 1.7; makes it easier to see difference in behavior. > > This is probably old coffee for most RubyVimmers. (or "vimming > Rubyists"?) See: http://www.rubygarden.org/ruby?VimExtensions > > BTW, thanks for your getting started Vim info some weeks ago :) Oh, my pleasure. And thanks to the other Vim-Rubyites out there. James > > Tobi > > > -- > http://www.pinkjuice.com/ > >