Skip to content

vim-scripts/vim-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vim-run

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

Usage

Config the command by filetype:

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

Run command with:

:Run

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:

:1,10Run

Run command with visual select:

:'<,'>RunRange

Toggle command autorun on save of current file:

:AutoRun

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published