Skip to content

Instantly share code, notes, and snippets.

@lengarvey
Created April 29, 2013 14:08
Show Gist options
  • Save lengarvey/5481777 to your computer and use it in GitHub Desktop.
Save lengarvey/5481777 to your computer and use it in GitHub Desktop.
Some vim hackery tonight led me to: https://github.com/benmills/vimux/pull/66
" open an IRB session in my current folder in the 20% tmux split below
map <Leader>irb :call VimuxRunCommand("clear;irb", 1, 0)<CR>
" Close the 20% tmux split below
map <Leader>cp :call VimuxCloseRunner()<CR>
" Open a shell in the 20% tmux split
map <Leader>sh :call VimuxRunCommand("clear", 1, 0)<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment