ctrlp-ssh : Open a new SSH connection via ctrlp.vim interface
| script karma
Downloaded by 254
Comments, bugs, improvements
script versions (upload new version)
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 (only *tmux* is currently supported).
First, I believe you're a user of a great Vim plugin ctrlp.vim.
Otherwise, you need to install it before start installing this plugin.
Second, this plugin requires tmux to open a new SSH window (currently).
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 mapping like:
nnoremap <Leader>fs :CtrlPSSH<Cr>
* kien/ctrlp.vim: https://github.com/kien/ctrlp.vim
* tacahiroy/ctrlp-ssh: https://github.com/tacahiroy/ctrlp-ssh
Copyright (c) 2013 Takahiro Yoshihara. Distributed under the Modified BSD License.
|If you use Vundle (https://github.com/gmarik/vundle.git) you can install this plugin using following Vim command:
In addition, don't forget put a line `Bundle 'tacahiroy/ctrlp-ssh'` into your .vimrc.
If you use pathogen.vim (https://github.com/tpope/vim-pathogen), you can do install this plugin with these commands:
git clone git://github.com/tacahiroy/ctrlp-ssh.git
You don't use either plugin management systems, copy autoload and plugin directory to your .vim directory.
Click on the package to download.
ip used for rating: 22.214.171.124