Ⅰ. 插件描述
Send text from Vim to a tmux pane.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'sjl/tslime2-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'sjl/tslime2-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'sjl/tslime2-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/sjl/tslime2.vim
Ⅳ. 文档说明
@@@@@@@ @@@@@@ @@@ @@@ @@@@@@@@@@ @@@@@@@@ @@@@@@
@@@@@@@ @@@@@@@ @@@ @@@ @@@@@@@@@@@ @@@@@@@@ @@@@@@@@
@@! !@@ @@! @@! @@! @@! @@! @@! @@@
!@! !@! !@! !@! !@! !@! !@! !@! @!@
@!! !!@@!! @!! !!@ @!! !!@ @!@ @!!!:! !!@
!!! !!@!!! !!! !!! !@! ! !@! !!!!!: !!:
!!: !:! !!: !!: !!: !!: !!: !:!
:!: !:! :!: :!: :!: :!: :!: :!:
:: :::: :: :: :::: :: ::: :: :: :::: :: :::::
: :: : : : :: : : : : : : :: :: :: : :::tslime lets you send text from Vim to a running tmux session. It's useful for
interacting with language/database REPLs and such.
tslime2 is a fork of tslime (which itself is a fork of a fork of a...). It's
completely rewritten (in TimL) and documented.
Check out the [documentation][] for more information.
Installation
Use Pathogen.
tslime2 requires TimL so install that too.
License
MIT/X11
Credits
In a nutshell:
The original version of tslime as far as I can tell is:
https://github.com/kikijump/tslime.vim
That repo hasn't been updated in a while, but this one has:
https://github.com/jgdavey/tslime.vim
I took that repo and added a few things and documentation and the result was:
https://github.com/sjl/tslime.vim
Then I completely rewrote everything in TimL and out came:
https://github.com/sjl/tslime2.vim