Windows: Clipboard provider win32yank

This commit is contained in:
Rui Abreu Ferreira 2015-10-08 20:12:53 +01:00
parent 030349d852
commit 33cd06dfb7

View File

@ -78,6 +78,12 @@ function! provider#clipboard#Executable() abort
let s:copy['*'] = s:copy['+']
let s:paste['*'] = s:paste['+']
return 'doitclient'
elseif executable('win32yank')
let s:copy['+'] = 'win32yank -i --crlf'
let s:paste['+'] = 'win32yank -o --lf'
let s:copy['*'] = s:copy['+']
let s:paste['*'] = s:paste['+']
return 'win32yank'
endif
let s:err = 'clipboard: No clipboard tool available. See :help clipboard'