vim-fakeclip
vim-fakeclip copied to clipboard
Fix pasting from tmux
tmux show-buffer behaves weirdly when run from within Vim (ie doesn't simply output buffer to stdout and quit as it does from the shell). I don't know why and don't have time to figure it out, but this is a quick fix which makes it work for me.
I'm using tmux 1.6, vim 7.3.502 and vim-fakeclip 0.2.10
Thank you. I'll review it later.
@5l @kana Bump, :+1:
For some reason, the problem seems to be disappeared. I couldn't reproduce the problem with tmux 1.8, Vim 7.4.169 and vim-fakeclip 0.2.10.
I can't reproduce the problem. The solution seems dubious as it appears to be doing nothing other than adding an exceedingly tiny and random delay to capturing the output of the "tmux show-buffer" command via the pipe to the "cat" command. I recommend closing this issue as it is not reproducible and very old.