vim-run : Run command in vim with current buffer and see the result side-by-side
script karma |
Rating 0/0,
Downloaded by 772 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
qiming zhao |
|
script type |
utility |
|
description |
The project is hosted at github: https://github.com/chemzqm/vim-run
## Usage
Config the command by filetype:
``` vim
let g:vim_run_command_map = {
\\'javascript': 'node',
\\'php': 'php',
\\'python': 'python',
\\}
```
Run command with:
``` vim
:Run
```
Or you can specify the command after `Run`:
``` vim
:Run yourcommand
```
`yourcommand` will be used in the following `Run` and `Autorun` if they called with empty command argument
Run command with range:
``` vim
:1,10Run
```
Run command with visual select:
``` vim
:'<,'>RunRange
```
Toggle command autorun on save of current file:
``` vim
:AutoRun
```
|
|
install details |
Install with your favorite plugin managers like NeoBundle/Plugin/Plug
>
NeoBundle 'chemzqm/vim-run'
Plugin 'chemzqm/vim-run'
Plug 'chemzqm/vim-run' |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.223.211.185
|