From 3217097119ec9ab9e346e5b64f746f16aa8610f7 Mon Sep 17 00:00:00 2001 From: Ben Mills Date: Wed, 29 Feb 2012 12:49:07 -0600 Subject: [PATCH] Update README.mkd --- README.mkd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.mkd b/README.mkd index 74da2ba..327edeb 100644 --- a/README.mkd +++ b/README.mkd @@ -60,6 +60,25 @@ Close all other tmux panes in the current window. map rx :CloseVimTmuxWindows ``` +### Full Example Code + +```viml +" Run the current file with rspec +map rb :call RunVimTmuxCommand("clear && rspec " . bufname("%")) + +" Prompt for a command to run +map rp :PromptVimTmuxCommand + +" Run last command executed by RunVimTmuxCommand +map rl :call RunLastVimTmuxCommand + +" Inspect runner pane +map ri :InspectVimTmuxRunner + +" Close all other tmux panes in current window +map rx :CloseVimTmuxWindows +``` + ## Options ### VimuxHeight