clipboard: support "lemonade" tool

This commit is contained in:
Shougo Matsushita 2016-04-15 19:59:10 +09:00
parent 4eb58273cd
commit b50afb4651
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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.