diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-05-15 18:17:07 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-05-15 18:17:07 -0400 |
commit | bbc13e6459ac67278e3003e7c75fcfa0df7e404d (patch) | |
tree | a104a0a5b2c0f6323ad3b0ff172b7850f8d12a85 | |
parent | 8cdf908ddba3038bd38fe144214b2792e7388b66 (diff) | |
parent | 9b1e819c8cd5389969c8a3dec38516d734e7936f (diff) | |
download | rneovim-bbc13e6459ac67278e3003e7c75fcfa0df7e404d.tar.gz rneovim-bbc13e6459ac67278e3003e7c75fcfa0df7e404d.tar.bz2 rneovim-bbc13e6459ac67278e3003e7c75fcfa0df7e404d.zip |
Merge pull request #4765 from jdelkins/doit
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. |