From: Pit Capitain Date: 2006-04-28T16:02:01+09:00 Subject: Re: OT: Vim->Ruby and back ? Gregory Brown schrieb: > I hope that someone finds a solution to this, because I would like to > add somethign to my .vimrc that can do what you want. How about :vmap y:exe "ruby " . getreg() Mark some text in visual mode and press to send it to the builtin Ruby interpreter. Note that the interpreter isn't restarted upon each invocation, so previous definitions stay valid, which may or may not be what you need. Regards, Pit