vim-remux


Ⅰ. 插件描述

Simple test runner for vim+tmux

Ⅱ. 基本信息

创建日期:  2015-05-31
使用用户:  2
Github星:  7
插件作者:  Rico Sta. Cruz

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'rstacruz/vim-remux'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'rstacruz/vim-remux'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'rstacruz/vim-remux'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-remux

Rerun tests in the next tmux pane with the press of a key.

Consider it a light-weight alternative to [vim-dispatch].

  1. Open Vim in tmux.
  2. Open a tmux split pane and run your tests there, like type npm test or something.
  3. Edit some files in Vim and press Ctrl + S. Remux will save the current file and type up-enter in the next tmux pane for you.


Install

Plug 'rstacruz/vim-remux'


Configuration

let g:remux_key = '<M-s>'  " defaults to <C-s>

...or bind :Remux to whatever you like.


Thanks

vim-remux © 2015+, Rico Sta. Cruz. Released under the [MIT] License.

Authored and maintained by Rico Sta. Cruz with help from contributors (list).

ricostacruz.com  · 
GitHub @rstacruz  · 
Twitter @rstacruz

添加新评论