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 ### RunVimTmuxCommand
Run a system command in a small horizontal split bellow the current pane vim is in. Run a system command in a small horizontal split bellow the current pane vim is in.
*Example:*
```viml ```viml
" Run the current file with rspec " Run the current file with rspec
map <Leader>rb :call RunVimTmuxCommand("clear && rspec " . bufname("%"))<CR> map <Leader>rb :call RunVimTmuxCommand("clear && rspec " . bufname("%"))<CR>
@ -23,8 +21,6 @@ map <Leader>rb :call RunVimTmuxCommand("clear && rspec " . bufname("%"))<CR>
### PromptVimTmuxCommand ### PromptVimTmuxCommand
Prompt for a command and run it in a small horizontal split bellow the current pane. Prompt for a command and run it in a small horizontal split bellow the current pane.
*Example:*
```viml ```viml
" Prompt for a command to run " Prompt for a command to run
map <Leader>rp :PromptVimTmuxCommand<CR> map <Leader>rp :PromptVimTmuxCommand<CR>
@ -33,8 +29,6 @@ map <Leader>rp :PromptVimTmuxCommand<CR>
### RunLastVimTmuxCommand ### RunLastVimTmuxCommand
Run the last command executed by `RunVimTmuxCommand` Run the last command executed by `RunVimTmuxCommand`
*Example:*
```viml ```viml
" Run last command executed by RunVimTmuxCommand " Run last command executed by RunVimTmuxCommand
map <Leader>rl :call RunLastVimTmuxCommand<CR> map <Leader>rl :call RunLastVimTmuxCommand<CR>
@ -43,8 +37,6 @@ map <Leader>rl :call RunLastVimTmuxCommand<CR>
### InspectVimTmuxRunner ### InspectVimTmuxRunner
Move into the tmux runner pane created by `RunVimTmuxCommand` and enter copy mode (scroll mode). Move into the tmux runner pane created by `RunVimTmuxCommand` and enter copy mode (scroll mode).
*Example:*
```viml ```viml
" Inspect runner pane " Inspect runner pane
map <Leader>ri :InspectVimTmuxRunner<CR> map <Leader>ri :InspectVimTmuxRunner<CR>
@ -53,8 +45,6 @@ map <Leader>ri :InspectVimTmuxRunner<CR>
### CloseVimTmuxWindows ### CloseVimTmuxWindows
Close all other tmux panes in the current window. Close all other tmux panes in the current window.
*Example:*
```viml ```viml
" Close all other tmux panes in current window " Close all other tmux panes in current window
map <Leader>rx :CloseVimTmuxWindows<CR> map <Leader>rx :CloseVimTmuxWindows<CR>
@ -63,14 +53,12 @@ map <Leader>rx :CloseVimTmuxWindows<CR>
### InterruptVimTmuxRunner ### InterruptVimTmuxRunner
Interrupt any command that is running inside the runner pane. Interrupt any command that is running inside the runner pane.
*Example:*
```viml ```viml
" Interrupt any command running in the runner pane " 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 ```viml
" Run the current file with rspec " Run the current file with rspec
@ -89,7 +77,7 @@ map <Leader>ri :InspectVimTmuxRunner<CR>
map <Leader>rx :CloseVimTmuxWindows<CR> map <Leader>rx :CloseVimTmuxWindows<CR>
" Interrupt any command running in the runner pane " Interrupt any command running in the runner pane
map <Leader>rs :InspectVimTmuxRunner<CR> map <Leader>rs :InterruptVimTmuxRunner<CR>
``` ```
## Options ## Options

Loading…
Cancel
Save