Editor's note: This is an augmented version of the original tbone by tpope. Basic tmux support for Vim.
:Tmux
lets you call any oldtmux
command (with really good tab complete).:Tyank
and:Tput
give you direct access to tmux buffers.:Twrite
sends a chunk of text to another pane. Give an argument likewindowtitle.2
,top-right
, orlast
, or let it default to the previously given argument.:Tcommitwrite
sends a line as the commit message for the given file to an adjacent pane. Give an argument likewindowtitle.2
,top-right
, orlast
, or let it default to the previously given argument. The current line in the editor will be remove and used as the commit message.:Tattach
lets you use a specific tmux session from outside of it.
Would you like to paste a shell command into another pane over and over again? I am sorry but you will have to install one of the 300 other Vim plugins for tmux.
If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:
cd ~/.vim/bundle
git clone git://github.com/tpope/vim-rbone.git
Once help tags have been generated, you can view the manual with
:help rbone
.
Copyright © Robert Krzyzanowski, Tim Pope. Distributed under the same terms as Vim itself.
See :help license
.