Home > selection_eval.vim

selection_eval.vim

Selection_eval.vim is a project mainly written in Vim Script, it's free.

Evaluate the statements which you select with visual mode.

This is a mirror of http://www.vim.org/scripts/script.php?script_id=1428

Evaluate the statements which you select with visual mode.

Commands: vmap evaluate with using ruby. vmap evaluate with using perl. vmap evaluate with using python. vmap evaluate with using shell(bash) vmap evaluate with using vim.

you need to install the interpreter which you want to use.

Usage:

  1. press + v
  2. select the snippets with visual mode. cf) echo "hello world"
  3. press or :EV (evaluate by vim.)
  4. you get the result in the another buffer.
  5. when you press the c or :ECL, the result buffer is closed.

Reference: dbext.vim

I use this scripts on FreeBSD5.4 and cygwin. (vim6.3)

Previous:cfname