aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-04-17 14:50:24 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-04-17 14:50:24 -0400
commit4b097c85d8531eac8ddf313159778ff7c28f253d (patch)
tree1530c8c6fd87f5734d3de86d91ffe736303d82f5
parenta7a3605c0f2548a614d51d8796d874cb0d2092e5 (diff)
parentb50afb465189894af32734ab7ede54d0cf4693d9 (diff)
downloadrneovim-4b097c85d8531eac8ddf313159778ff7c28f253d.tar.gz
rneovim-4b097c85d8531eac8ddf313159778ff7c28f253d.tar.bz2
rneovim-4b097c85d8531eac8ddf313159778ff7c28f253d.zip
Merge pull request #4579 from Shougo/lemonade
Add lemonade support for clipboard feature
-rw-r--r--runtime/autoload/provider/clipboard.vim5
-rw-r--r--runtime/doc/nvim_clipboard.txt2
2 files changed, 7 insertions, 0 deletions
diff --git a/runtime/autoload/provider/clipboard.vim b/runtime/autoload/provider/clipboard.vim
index 5ea9df92fe..9f1737639b 100644
--- a/runtime/autoload/provider/clipboard.vim
+++ b/runtime/autoload/provider/clipboard.vim
@@ -47,6 +47,11 @@ elseif exists('$DISPLAY') && executable('xclip')
let s:paste['+'] = 'xclip -o -selection clipboard'
let s:copy['*'] = 'xclip -quiet -i -selection primary'
let s:paste['*'] = 'xclip -o -selection primary'
+elseif executable('lemonade')
+ let s:copy['+'] = 'lemonade copy'
+ let s:paste['+'] = 'lemonade paste'
+ let s:copy['*'] = 'lemonade copy'
+ let s:paste['*'] = 'lemonade paste'
else
echom 'clipboard: No clipboard tool available. See :help nvim-clipboard'
finish
diff --git a/runtime/doc/nvim_clipboard.txt b/runtime/doc/nvim_clipboard.txt
index 1183ad7a3c..258fc550f8 100644
--- a/runtime/doc/nvim_clipboard.txt
+++ b/runtime/doc/nvim_clipboard.txt
@@ -22,6 +22,8 @@ is found in your `$PATH`.
- xclip
- xsel (newer alternative to xclip)
- pbcopy/pbpaste (only for Mac OS X)
+- lemonade (useful for SSH machine)
+ https://github.com/pocke/lemonade
The presence of a suitable clipboard tool implicitly enables the '+' and '*'
registers.