tslime.vim


Ⅰ. 插件描述

Send command from vim to a running tmux session

Ⅱ. 基本信息

创建日期:  2010-03-15
使用用户:  1
Github星:  4
插件作者:  James Harris

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'jimmyharris/tslime-vim-better-than-revenge'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'jimmyharris/tslime-vim-better-than-revenge'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'jimmyharris/tslime-vim-better-than-revenge'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/jimmyharris/tslime.vim

Ⅳ. 文档说明

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.

For now, you need to have tmux build from cvs if you want to paste to a
specified pane since the current version (1.2) doesn't support it.

If you can't / don't want to build from source, you can 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.

添加新评论