diff --git a/runtime/autoload/provider/clipboard.vim b/runtime/autoload/provider/clipboard.vim index 425f2ef655..2556870308 100644 --- a/runtime/autoload/provider/clipboard.vim +++ b/runtime/autoload/provider/clipboard.vim @@ -168,7 +168,7 @@ function! s:set_tmux() abort else let s:copy['+'] = ['tmux', 'load-buffer', '-'] endif - let s:paste['+'] = ['tmux', 'save-buffer', '-'] + let s:paste['+'] = ['sh', '-c', 'tmux refresh-client -l && sleep 0.05 && tmux save-buffer -'] let s:copy['*'] = s:copy['+'] let s:paste['*'] = s:paste['+'] return 'tmux'