From: Tobias Reif Date: 2002-06-04T07:52:05+09:00 Subject: (G)Vim Ruby question (was:Word for Windows Ruby Trick) Hi, Selecting a portion of Ruby code (visual mode), sending it to Ruby with ;r vmap ;r :w !rubygv works for sending a string to Ruby, but unfortunately it sends the whole line? How to send only the selected part of the line? It sems to be stored in @" after y. For -e solutions, "s in the "" the string will have to be escaped. perhaps something like ... let string = y [escape "s in the string] :!ruby -e \'string\' ... Tobi -- http://www.pinkjuice.com/