sponsor Vim development Vim logo Vim Book Ad

pipe2eval : simple REPL inside vim

 script karma  Rating 0/0, Downloaded by 460  Comments, bugs, improvements  Vim wiki

created by
Feng Zhou
script type
simple REPL inside vim

demo coffeescript:


demo mysql:



press V<space> to evaluate current line, vip<space> to evaluate a paragraph

to specify a diffrent filetype use the Pipe2 command :Pipe2 redis, :Pipe2 mongo ...

evaluate an empty line will clear the context

more info: https://github.com/zweifisch/pipe2eval
install details
Extract to ~/.vim

the latest version can be installed via vundle

Bundle "zweifisch/pipe2eval"

tempfiles are put to /dev/shm/ by default, export PIP2EVAL_TMP_FILE_PATH to override.

On Mac OS X, /dev/ is highly locked down permissions wise. If you're on OS X it's recommended to use another folder, such as /tmp/shms or similar (you'll have to create it). To this by adding export PIP2EVAL_TMP_FILE_PATH=/tmp/shms to your Bash/ZSH RC file.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
pip2eval.zip 0.1 2014-03-04 7.0 Feng Zhou Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.