mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07: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: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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user