vimshell-ssh


Ⅰ. 插件描述

the world first vimshell plugin that you can run "vim" command on ssh on vimshell

Ⅱ. 基本信息

创建日期:  2011-06-02
使用用户:  44
Github星:  35
插件作者:  ujihisa .

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vimshell-ssh

usage

  1. iexe ssh on your vimshell
  2. use vim command remotely
  3. wow!

dependencies

  • vimshell
  • netrw (should be built-in in your Vim)

Optional

  • unite-ssh (this replaces netrw)

    • unite.vim (unite-ssh's dependency)
    • vimfiler (unite-ssh's dependency)

known issues

  • netrw uses :!

  • netrw changes options like cursorline

  • after vim command the ssh iexe buffer cursor location will be still in the vim command's line
  • for some reasin vim command failed on my remote zsh

    • run bash on the server just in case
    • export PS1, PS2 and RPS to simpify them

articules

Author

Tatsuhiro Ujihisa

License

MIT

添加新评论