Run file with command in vim and watch result side by side
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Run a custom command in vim with current buffer and see the result side-by-side


Config the command by filetype:

let g:vim_run_command_map = {
  \'javascript': 'node',
  \'php': 'php',
  \'python': 'python',

Run command with:


Or you can specify the command after Run:

:Run yourcommand

yourcommand will be used in the following Run and Autorun if they called with empty command argument

Run command with range:


Run command with visual select:


Toggle command autorun on save of current file: