|
|
|
@ -17,7 +17,17 @@ Run a system command in a small horizontal split bellow the current pane vim is
|
|
|
|
|
|
|
|
|
|
```viml
|
|
|
|
|
" Run the current file with rspec
|
|
|
|
|
map <Leader>rb :call RunVimTmuxCommand("clear %% rspec " . bufname("%"))<CR>
|
|
|
|
|
map <Leader>rb :call RunVimTmuxCommand("clear && rspec " . bufname("%"))<CR>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### PromptVimTmuxCommand
|
|
|
|
|
Prompt for a command and run it in a small horizontal split bellow the current pane.
|
|
|
|
|
|
|
|
|
|
*Example:*
|
|
|
|
|
|
|
|
|
|
```viml
|
|
|
|
|
" Prompt for a command to run
|
|
|
|
|
map <Leader>rp :PromptVimTmuxCommand<CR>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### RunLastVimTmuxCommand
|
|
|
|
@ -30,6 +40,16 @@ Run the last command executed by `RunVimTmuxCommand`
|
|
|
|
|
map <Leader>rl :call RunLastVimTmuxCommand<CR>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### InspectVimTmuxRunner
|
|
|
|
|
Move into the tmux runner pane created by `RunVimTmuxCommand` and enter copy mode (scroll mode).
|
|
|
|
|
|
|
|
|
|
*Example:*
|
|
|
|
|
|
|
|
|
|
```viml
|
|
|
|
|
" Inspect runner pane
|
|
|
|
|
map <Leader>ri :InspectVimTmuxRunner<CR>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### CloseVimTmuxWindows
|
|
|
|
|
Close all other tmux panes in the current window.
|
|
|
|
|
|
|
|
|
@ -54,4 +74,4 @@ let VimuxHeight = "50"
|
|
|
|
|
|
|
|
|
|
The features I would like to add in the near future.
|
|
|
|
|
|
|
|
|
|
* Add the ability to target any tmux session, window and pane
|
|
|
|
|
* Add the ability to target any tmux session, window and pane
|
|
|
|
|