Re: problem with pasting from linux clipboard tmux

2012-12-06 Thread Ping
good tip Sent from my iPhone On Dec 6, 2012, at 8:24 AM, Alexandre Provencio wrote: > > unbind p > bind p run "xclip -o -sel clipboard | tmux load-buffer - ; tmux paste-buffer" -- LogMeIn Rescue: Anywhere, Anytime Re

Re: problem with pasting from linux clipboard

2012-12-06 Thread Alexandre Provencio
On Thu, Dec 6, 2012 at 11:10 AM, Nicholas Marriott wrote: > Does it help if you do "xclip -o -sel clipboard|tmux loadb -" instead of setb? Worked like a charm, thank you! This is my final mapping: unbind p bind p run "xclip -o -sel clipboard | tmux load-buffer - ; tmux paste-buffer" - Alexandre

Re: problem with pasting from linux clipboard

2012-12-06 Thread Nicholas Marriott
Does it help if you do "xclip -o -sel clipboard|tmux loadb -" instead of setb? On Tue, Nov 27, 2012 at 03:12:11PM -0200, Alexandre Provencio wrote: > On Tue, Nov 27, 2012 at 2:03 PM, Nicholas Marriott > wrote: > > If you kill tmux entirely and start it with "EVENT_NOEPOLL=1 tmux new" does > > i

Re: problem with pasting from linux clipboard

2012-11-27 Thread Alexandre Provencio
On Tue, Nov 27, 2012 at 2:03 PM, Nicholas Marriott wrote: > If you kill tmux entirely and start it with "EVENT_NOEPOLL=1 tmux new" does > it work? Thanks for trying Nicholas, but unfortunately it did no fix. If using tmux locally, this issue is not so serious for me because I have vim's clipboar

Re: problem with pasting from linux clipboard

2012-11-27 Thread Nicholas Marriott
If you kill tmux entirely and start it with "EVENT_NOEPOLL=1 tmux new" does it work? On Mon, Nov 26, 2012 at 02:16:31PM -0200, Alexandre Provencio wrote: > Bump? I'm sorry if this was already discussed but I really couldn't find > anything specific. Please, any info would be of help. > > -Alexa

Re: problem with pasting from linux clipboard

2012-11-26 Thread Alexandre Provencio
PS: ":read xclip -o" from vim works ok for long lines, though I still miss doing this from a tmux binding On Mon, Nov 26, 2012 at 2:16 PM, Alexandre Provencio wrote: > Bump? I'm sorry if this was already discussed but I really couldn't find > anything specific. Please, any info would be of help.

Re: problem with pasting from linux clipboard

2012-11-26 Thread Alexandre Provencio
Bump? I'm sorry if this was already discussed but I really couldn't find anything specific. Please, any info would be of help. -Alexandre On Thu, Nov 22, 2012 at 12:24 AM, Alexandre Provencio wrote: > Hello everyone, I have the following binding set: > > bind p run "tmux set-buffer \"$(xclip -o

problem with pasting from linux clipboard

2012-11-21 Thread Alexandre Provencio
Hello everyone, I have the following binding set: bind p run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" It works fine for a few lines of text, but not for bigger chunks, where anything goes to the paste-buffer and tmux throws a 'returned 1' message. Can anyone please hel