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 installing this plugin. Second, this plugin requires tmux to open a new SSH window for now.
INSTALLATION
Vundle
:PluginInstall tacahiroy/ctrlp-ssh
In 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.git
If you don't use either plugin management systems, copy autoload and plugin directory to your .vim directory.
CONFIGURATION
You need to make this plugin available as a ctrlp.vim extension. Please add ssh to a variable g:ctrlp_extensions
.
let g:ctrlp_extensions = ['ssh']
Or if you already use other ctrlp.vim extensions you need to do like this:
let g:ctrlp_extensions = ['funky', 'ssh']
Then restart Vim and you can use :CtrlPSSH
command.
It might be useful configuring mapping like:
nnoremap <Leader>fs :CtrlPSSH<Cr>
LINK
LICENSE
Copyright (c) 2013-2014 Takahiro Yoshihara. Distributed under the Modified BSD License.