mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
clipboard: support "lemonade" tool
This commit is contained in:
parent
4eb58273cd
commit
b50afb4651
@ -47,6 +47,11 @@ elseif exists('$DISPLAY') && executable('xclip')
|
|||||||
let s:paste['+'] = 'xclip -o -selection clipboard'
|
let s:paste['+'] = 'xclip -o -selection clipboard'
|
||||||
let s:copy['*'] = 'xclip -quiet -i -selection primary'
|
let s:copy['*'] = 'xclip -quiet -i -selection primary'
|
||||||
let s:paste['*'] = 'xclip -o -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
|
else
|
||||||
echom 'clipboard: No clipboard tool available. See :help nvim-clipboard'
|
echom 'clipboard: No clipboard tool available. See :help nvim-clipboard'
|
||||||
finish
|
finish
|
||||||
|
@ -22,6 +22,8 @@ is found in your `$PATH`.
|
|||||||
- xclip
|
- xclip
|
||||||
- xsel (newer alternative to xclip)
|
- xsel (newer alternative to xclip)
|
||||||
- pbcopy/pbpaste (only for Mac OS X)
|
- 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 '*'
|
The presence of a suitable clipboard tool implicitly enables the '+' and '*'
|
||||||
registers.
|
registers.
|
||||||
|
Loading…
Reference in New Issue
Block a user