Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Send command from vim to a running tmux session
VimL
branch: master

This branch is 2 commits ahead, 1 commit behind kikijump:master

My version of tmux (1.5) doesn't support selecting the session/window

for the buffer commands. With this commit you can only select which pane
to send the output to.
latest commit 46340cc141
@xaviershay authored

README

tslime.vim

This is a simple vim script to send portion of text from a vim buffer to a
running tmux session.

It is based on slime.vim http://technotales.wordpress.com/2007/10/03/like-slime-for-vim/,
but use tmux instead of screen.

However, compared to tmux, screen doesn't have the notion of panes. So, the
script was adapt to take panes into account.

If you use version of tmux < 1.3 , you should use the stable branch. The version
available in that branch isn't aware of panes so it will paste to pane 0 of the
window.
Something went wrong with that request. Please try again.