RbREPL.vim is a VIM plugin that allows you to run a Ruby interactive interpreter inside a VIM buffer.
Screenshot:
Multiline statements don't yet sort-of work.
This plugin is in its early stages and I'm very new to Ruby programming. It probably won't do anything harmful to your computer, but it might, at times, not work as expected.
Use pathogen
and clone this repository into your bundle
directory.
Start the REPL using <leader>R
or :RbREPLToggle<CR>
. Type away. To
stop the REPL run either of those commands again. This will not close
the buffer.
It's possible to evaluate a file you're working on inside the REPL by
running the command :RbREPLEvalFile<CR>
on a Ruby file.