Ⅰ. 插件描述
Sever/client clipboard over SSH for NeovimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tweekmonster/sshclip'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tweekmonster/sshclip'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tweekmonster/sshclip'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tweekmonster/sshclip
Ⅳ. 文档说明
# sshclip
Note: This is being rewritten in Go to be much simpler to use
With Neovim's provider infrastructure, the
unnamed (*) and plus (+) registers can be securely sent to an SSH account that
uses a shell specifically for storing and retrieving the clipboard. The
purpose behind this is to allow you to have access to the same clipboard data
across multiple computers (ideally in a closed network).
It works, but is very much not production ready. This will be updated with
more information later.
If you want to try it, look through bin to get an idea of how it works.cshell is a C version of the server script, it has a script for setting up
restricted user account for sshclip.