Ⅰ. 插件描述
a ctrlp.vim extension - open a new SSH connection via ctrlp.vim interfaceⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tacahiroy/ctrlp-ssh'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tacahiroy/ctrlp-ssh'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tacahiroy/ctrlp-ssh'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tacahiroy/ctrlp-ssh
Ⅳ. 文档说明
ctrlp-ssh
SYNOPSIS
You can do SSH to a server via ctrlp.vim interface using this plugin.
Note that this plugin is a ctrlp.vim extension and it requires a runner (tmux is currently only supported).

PREMISE
First, I believe you're a user of a great Vim plugin ctrlp.vim.
Otherwise, you must install it before start using this plugin.
Second, this plugin requires tmux to open a new SSH window for now.
INSTALLATION
Vundle
:PluginInstall tacahiroy/ctrlp-sshIn addition, don't forget put a line Plugin 'tacahiroy/ctrlp-ssh' into your _.vimrc_.
pathogen.vim
$ cd ~/.vim/bundle
$ git clone git://github.com/tacahiroy/ctrlp-ssh.gitIf you don't use either plugin management systems, copy autoload and plugin directory to your .vim directory.
CONFIGURATION
After finished the install process, you may restart Vim and then you can use :CtrlPSSH command.
It's useful to define a key mapping like this:
nnoremap <Leader>fs :CtrlPSSH<Cr>LINK
LICENSE
Copyright (c) 2013-2015, Takahiro Yoshihara. Distributed under the Modified BSD License.