mirror of
https://github.com/neovim/neovim.git
synced 2025-12-05 22:22:44 +00:00
clipboard: support "doit" tool
This commit is contained in:
@@ -52,6 +52,11 @@ elseif executable('lemonade')
|
|||||||
let s:paste['+'] = 'lemonade paste'
|
let s:paste['+'] = 'lemonade paste'
|
||||||
let s:copy['*'] = 'lemonade copy'
|
let s:copy['*'] = 'lemonade copy'
|
||||||
let s:paste['*'] = 'lemonade paste'
|
let s:paste['*'] = 'lemonade paste'
|
||||||
|
elseif executable('doitclient')
|
||||||
|
let s:copy['+'] = 'doitclient wclip'
|
||||||
|
let s:paste['+'] = 'doitclient wclip -r'
|
||||||
|
let s:copy['*'] = s:copy['+']
|
||||||
|
let s:paste['*'] = s: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
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ is found in your `$PATH`.
|
|||||||
- pbcopy/pbpaste (only for Mac OS X)
|
- pbcopy/pbpaste (only for Mac OS X)
|
||||||
- lemonade (useful for SSH machine)
|
- lemonade (useful for SSH machine)
|
||||||
https://github.com/pocke/lemonade
|
https://github.com/pocke/lemonade
|
||||||
|
- doitclient (another option for SSH setups from the maintainer of PuTTY)
|
||||||
|
http://www.chiark.greenend.org.uk/~sgtatham/doit/
|
||||||
|
|
||||||
The presence of a suitable clipboard tool implicitly enables the '+' and '*'
|
The presence of a suitable clipboard tool implicitly enables the '+' and '*'
|
||||||
registers.
|
registers.
|
||||||
|
|||||||
Reference in New Issue
Block a user