About the lemonade
You can find lemonade here.
Because, neovim depends on xclip to copy and pasta from the remote Server (e.g. The computers in remote which has a greater computation power), for which, the $DISPLAY is needed. So we can only do copy from the local Client (local computer), we cannot do copy from the remote Server, however.
Here is a way to have the lemonade to make it.
First, we need to install lemonade in both Client and the Server, be attention to the environment set.
Second, we need to write a script in Server, named with remote:
|
where, $port is the port, and $user is the user, $ipadress is the I adress of the remote Server IP adress :)
- Then copy these in neovim’s init.vim to config the copy or paste key to set the copy command.
let g:clipboard = { |
After chmod u+x remote ( which you created in the second step), you can then register to the Remote after running remote and inputing the password in the command-line.