Annoyance when running scripts in Vim (Windows, Ruby) -


I have started using Vime for my programming projects (mostly Ruby) and most of all work the same way Does what I want, but I have problems compiling.

Let's say I'm working on a Ruby script and I want to run it. I type: Ruby sometging.rb (Map for any other key). Then vim opens a new cmd.exe window and runs 'ruby something.rb'. Then it is waiting for me to press the Enter key to close the window and continue working on the script.

Is there a way to configure VIM on the window so that it can always run a script working on a spreadrate window (always the same one, if none exists then => open one) , And do not ask me to confirm with the entry?

Do not know about GVM, but in general Vime you

< Code> map R & LT; ESC & gt ;: TAVNU & lt; CR & gt; ACC>:%! Ruby in your ~ / .vimrc filename.rb & lt; CR & gt;

which will execute a Ruby file in a newtab pressing R in Command mode.


Comments