mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	clipboard: support "lemonade" tool
This commit is contained in:
		@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user