Fredrik Fornwall
9 years ago
2 changed files with 12 additions and 11 deletions
@ -1,14 +1,15 @@ |
|||
--- ../neovim-master/runtime/autoload/provider/clipboard.vim 2016-02-17 20:56:48.362733600 -0600
|
|||
+++ ./runtime/autoload/provider/clipboard.vim 2016-02-17 20:56:23.022486500 -0600
|
|||
@@ -47,6 +47,11 @@
|
|||
let s:paste['+'] = 'xclip -o -selection clipboard' |
|||
let s:copy['*'] = 'xclip -quiet -i -selection primary' |
|||
let s:paste['*'] = 'xclip -o -selection primary' |
|||
diff -u -r ../neovim-master/runtime/autoload/provider/clipboard.vim ./runtime/autoload/provider/clipboard.vim
|
|||
--- ../neovim-master/runtime/autoload/provider/clipboard.vim 2016-04-23 15:32:43.000000000 -0400
|
|||
+++ ./runtime/autoload/provider/clipboard.vim 2016-04-23 17:44:02.062815241 -0400
|
|||
@@ -37,6 +37,11 @@
|
|||
let s:copy['*'] = s:copy['+'] |
|||
let s:paste['*'] = s:paste['+'] |
|||
let s:cache_enabled = 0 |
|||
+elseif executable('termux-clipboard-set')
|
|||
+ let s:copy['+'] = 'termux-clipboard-set'
|
|||
+ let s:paste['+'] = 'termux-clipboard-get'
|
|||
+ let s:copy['*'] = 'termux-clipboard-set'
|
|||
+ let s:paste['*'] = 'termux-clipboard-get'
|
|||
else |
|||
echom 'clipboard: No clipboard tool available. See :help nvim-clipboard' |
|||
finish |
|||
elseif exists('$DISPLAY') && executable('xsel') |
|||
let s:copy['+'] = 'xsel --nodetach -i -b' |
|||
let s:paste['+'] = 'xsel -o -b' |
|||
|
Loading…
Reference in new issue