Update README.mkd

1.0.0rc1
Ben Mills 12 years ago
parent 506f681a7a
commit 6f66c734de

@ -13,8 +13,6 @@ Otherwise download the latest [tarball](https://github.com/benmills/vimux/tarbal
### RunVimTmuxCommand
Run a system command in a small horizontal split bellow the current pane vim is in.
*Example:*
```viml
" Run the current file with rspec
map <Leader>rb :call RunVimTmuxCommand("clear && rspec " . bufname("%"))<CR>
@ -23,8 +21,6 @@ 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>
@ -33,8 +29,6 @@ map <Leader>rp :PromptVimTmuxCommand<CR>
### RunLastVimTmuxCommand
Run the last command executed by `RunVimTmuxCommand`
*Example:*
```viml
" Run last command executed by RunVimTmuxCommand
map <Leader>rl :call RunLastVimTmuxCommand<CR>
@ -43,8 +37,6 @@ 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>
@ -53,8 +45,6 @@ map <Leader>ri :InspectVimTmuxRunner<CR>
### CloseVimTmuxWindows
Close all other tmux panes in the current window.
*Example:*
```viml
" Close all other tmux panes in current window
map <Leader>rx :CloseVimTmuxWindows<CR>
@ -63,14 +53,12 @@ map <Leader>rx :CloseVimTmuxWindows<CR>
### InterruptVimTmuxRunner
Interrupt any command that is running inside the runner pane.
*Example:*
```viml
" Interrupt any command running in the runner pane
map <Leader>rs :InspectVimTmuxRunner<CR>
map <Leader>rs :InterruptVimTmuxRunner<CR>
```
### Full Example Code
### Full Keybind Example
```viml
" Run the current file with rspec
@ -89,7 +77,7 @@ map <Leader>ri :InspectVimTmuxRunner<CR>
map <Leader>rx :CloseVimTmuxWindows<CR>
" Interrupt any command running in the runner pane
map <Leader>rs :InspectVimTmuxRunner<CR>
map <Leader>rs :InterruptVimTmuxRunner<CR>
```
## Options

Loading…
Cancel
Save