Matthew Klein
8 years ago
committed by
Fredrik Fornwall
1 changed files with 6 additions and 5 deletions
@ -1,15 +1,16 @@ |
|||||
diff -u -r ../neovim-01f1028496bd1a402ad1b11c311291ec96335b70/runtime/autoload/provider/clipboard.vim ./runtime/autoload/provider/clipboard.vim
|
diff -u -r ../neovim-01f1028496bd1a402ad1b11c311291ec96335b70/runtime/autoload/provider/clipboard.vim ./runtime/autoload/provider/clipboard.vim
|
||||
--- ../neovim-01f1028496bd1a402ad1b11c311291ec96335b70/runtime/autoload/provider/clipboard.vim 2016-11-02 20:06:23.000000000 -0400
|
--- ../neovim-01f1028496bd1a402ad1b11c311291ec96335b70/runtime/autoload/provider/clipboard.vim 2016-11-04 14:04:54.419734130 -0500
|
||||
+++ ./runtime/autoload/provider/clipboard.vim 2016-11-04 07:00:46.931928888 -0400
|
+++ ./runtime/autoload/provider/clipboard.vim 2016-11-04 14:07:45.039751132 -0500
|
||||
@@ -45,6 +45,11 @@
|
@@ -45,6 +45,12 @@
|
||||
let s:paste['*'] = s:paste['+'] |
let s:paste['*'] = s:paste['+'] |
||||
let s:cache_enabled = 0 |
let s:cache_enabled = 0 |
||||
return 'pbcopy' |
return 'pbcopy' |
||||
+ elseif executable('termux-clipboard-set')
|
+ elseif executable('termux-clipboard-set')
|
||||
+ let s:copy['+'] = 'termux-clipboard-set'
|
+ let s:copy['+'] = 'termux-clipboard-set'
|
||||
+ let s:paste['+'] = 'termux-clipboard-get'
|
+ let s:paste['+'] = 'termux-clipboard-get'
|
||||
+ let s:copy['*'] = 'termux-clipboard-set'
|
+ let s:copy['*'] = s:copy['+']
|
||||
+ let s:paste['*'] = 'termux-clipboard-get'
|
+ let s:paste['*'] = s:paste['+']
|
||||
|
+ return 'termux-clipboard'
|
||||
elseif exists('$DISPLAY') && executable('xsel') |
elseif exists('$DISPLAY') && executable('xsel') |
||||
let s:copy['+'] = 'xsel --nodetach -i -b' |
let s:copy['+'] = 'xsel --nodetach -i -b' |
||||
let s:paste['+'] = 'xsel -o -b' |
let s:paste['+'] = 'xsel -o -b' |
||||
|
Loading…
Reference in new issue