diff options
author | Joel D. Elkins <joel@elkins.co> | 2016-05-15 16:53:49 -0500 |
---|---|---|
committer | Joel D. Elkins <joel@elkins.co> | 2016-05-15 16:53:49 -0500 |
commit | 9b1e819c8cd5389969c8a3dec38516d734e7936f (patch) | |
tree | a104a0a5b2c0f6323ad3b0ff172b7850f8d12a85 | |
parent | 8cdf908ddba3038bd38fe144214b2792e7388b66 (diff) | |
download | rneovim-9b1e819c8cd5389969c8a3dec38516d734e7936f.tar.gz rneovim-9b1e819c8cd5389969c8a3dec38516d734e7936f.tar.bz2 rneovim-9b1e819c8cd5389969c8a3dec38516d734e7936f.zip |
clipboard: support "doit" tool
-rw-r--r-- | runtime/autoload/provider/clipboard.vim | 5 | ||||
-rw-r--r-- | runtime/doc/nvim_clipboard.txt | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/runtime/autoload/provider/clipboard.vim b/runtime/autoload/provider/clipboard.vim index 9f1737639b..c7cb14ded7 100644 --- a/runtime/autoload/provider/clipboard.vim +++ b/runtime/autoload/provider/clipboard.vim @@ -52,6 +52,11 @@ elseif executable('lemonade') let s:paste['+'] = 'lemonade paste' let s:copy['*'] = 'lemonade copy' let s:paste['*'] = 'lemonade paste' +elseif executable('doitclient') + let s:copy['+'] = 'doitclient wclip' + let s:paste['+'] = 'doitclient wclip -r' + let s:copy['*'] = s:copy['+'] + let s:paste['*'] = s:paste['+'] else echom 'clipboard: No clipboard tool available. See :help nvim-clipboard' finish diff --git a/runtime/doc/nvim_clipboard.txt b/runtime/doc/nvim_clipboard.txt index 258fc550f8..078382c7a7 100644 --- a/runtime/doc/nvim_clipboard.txt +++ b/runtime/doc/nvim_clipboard.txt @@ -24,6 +24,8 @@ is found in your `$PATH`. - pbcopy/pbpaste (only for Mac OS X) - lemonade (useful for SSH machine) https://github.com/pocke/lemonade +- doitclient (another option for SSH setups from the maintainer of PuTTY) + http://www.chiark.greenend.org.uk/~sgtatham/doit/ The presence of a suitable clipboard tool implicitly enables the '+' and '*' registers. |