sponsor Vim development Vim logo Vim Book Ad

ctrlp-ssh : Open a new SSH connection via ctrlp.vim interface

 script karma  Rating 2/2, Downloaded by 235    Comments, bugs, improvements  Vim wiki

created by
Takahiro Yoshihara
 
script type
utility
 
description
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 (only *tmux* is currently supported).

screenshot: http://i.imgur.com/PvIvax0.png


PREMISE
----------
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).


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 mapping like:

    nnoremap <Leader>fs :CtrlPSSH<Cr>


LINK
--------------

* kien/ctrlp.vim: https://github.com/kien/ctrlp.vim
* tacahiroy/ctrlp-ssh: https://github.com/tacahiroy/ctrlp-ssh

LICENSE
-------

Copyright (c) 2013 Takahiro Yoshihara. Distributed under the Modified BSD License.
 
install details
If you use Vundle (https://github.com/gmarik/vundle.git) you can install this plugin using following Vim command:

    :BundleInstall tacahiroy/ctrlp-ssh

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:

    cd ~/.vim/bundle
    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.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ctrlp-ssh-0.1.0.zip 0.1.0 2013-10-12 7.0 Takahiro Yoshihara New feature: keep ctrlp window to open SSH connection one after another.
ctrlp-ssh.zip 0.0.1 2013-07-22 7.0 Takahiro Yoshihara Initial upload
ip used for rating: 54.226.206.205

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo