Fredrik Fornwall
7 years ago
2 changed files with 12 additions and 14 deletions
@ -1,16 +1,16 @@ |
|||||
diff -u -r ../neovim-76ea97c809e50fccc5ca6615943ac6da1db1e030/runtime/autoload/provider/clipboard.vim ./runtime/autoload/provider/clipboard.vim
|
diff -u -r ../neovim-b57d9a4ff08fc1ef8db79d422b441b792493ff4e/runtime/autoload/provider/clipboard.vim ./runtime/autoload/provider/clipboard.vim
|
||||
--- ../neovim-76ea97c809e50fccc5ca6615943ac6da1db1e030/runtime/autoload/provider/clipboard.vim 2017-06-19 00:01:29.000000000 +0000
|
--- ../neovim-b57d9a4ff08fc1ef8db79d422b441b792493ff4e/runtime/autoload/provider/clipboard.vim 2017-11-25 22:22:46.000000000 +0000
|
||||
+++ ./runtime/autoload/provider/clipboard.vim 2017-06-19 20:10:55.376978820 +0000
|
+++ ./runtime/autoload/provider/clipboard.vim 2017-11-25 22:51:34.076263411 +0000
|
||||
@@ -90,6 +90,12 @@
|
@@ -103,6 +103,12 @@
|
||||
let s:copy['*'] = s:copy['+'] |
let s:copy['*'] = s:copy['+'] |
||||
let s:paste['*'] = s:paste['+'] |
let s:paste['*'] = s:paste['+'] |
||||
return 'tmux' |
return 'win32yank' |
||||
+ 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['*'] = s:copy['+']
|
+ let s:copy['*'] = s:copy['+']
|
||||
+ let s:paste['*'] = s:paste['+']
|
+ let s:paste['*'] = s:paste['+']
|
||||
+ return 'termux-clipboard'
|
+ return 'termux-clipboard'
|
||||
endif |
elseif exists('$TMUX') && executable('tmux') |
||||
|
let s:copy['+'] = 'tmux load-buffer -' |
||||
let s:err = 'clipboard: No clipboard tool available. :help clipboard' |
let s:paste['+'] = 'tmux save-buffer -' |
||||
|
Loading…
Reference in new issue