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