vim-refugi


Ⅰ. 插件描述

sshfs + fugitive = fffuuu-, sshfs + fugitive + refugi = hell yeah!

Ⅱ. 基本信息

创建日期:  2012-02-01
使用用户:  2
Github星:  11
插件作者:  Stanislav Seletskiy

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

About

vim is awesome.
git is awesome.
fugitive is awesome.
sshfs is awesome.

But all these things together have so many awesomeness,
that put your network down.
And put fugitive down.
And put vim down.
And put you down.

And all of there is because of git through sshfs is slow as hell.
And all of there is because fugitive run local git on remote fs.

vim-refugi teaches fugitive to run not local git, but remote, and
then pass output back.

Usage

Just install it to your bundle directory.
Everything should work like magic.

Tips

Because of script use ssh multiplexing, it is good to configure
your ssh to automatically open master connections.

E.g. you need this in your ~/.ssh/config:

host *
    controlmaster auto
    controlpath   ~/.ssh/connections/%r_%h_%p

添加新评论