To install it:
- Download the plugin. Extract it to your .vim folder.
- If you haven't already, install GNU screen.
- Start a terminal, and type $ screen -S replshell . The term 'replshell' can be replaced by any term you prefer.
- Invoke the interpreter of the language you'd like to use. For eg., $ python
- Start a new terminal, and open vim.
- Type some python code.
- When you're done, move your cursor to the starting line of a 'paragraph' which is effectively an unbroken list of lines. This could be a class definition, or just a function.
- Hit Esc, then C-c, C-c.
- You'll be asked to enter in the name of the screen you would like to send the text to. Type in replshell. This happens just this once for this session.
- You'll be asked to name the window, the default option being window0. Hit Enter.
- The code should appear on the other terminal. Hit Enter to see it execute.
- Celebrate!