On Thu, Dec 6, 2012 at 11:10 AM, Nicholas Marriott <nicholas.marri...@gmail.com> 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 > > > On Tue, Nov 27, 2012 at 03:12:11PM -0200, Alexandre Provencio wrote: >> On Tue, Nov 27, 2012 at 2:03 PM, Nicholas Marriott >> <nicholas.marri...@gmail.com> 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 clipboard=unnamed so I can paste any text on vim with just a >> 'p'. My main problem is using tmux for ssh sessions, when I want to >> paste longer texts on vim. Is using xclip/xsel the way I'm using the >> right way of pasting text through ssh sessions with tmux on linux? >> >> > >> > >> > 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. >> >> >> >> -Alexandre >> >> >> >> On Thu, Nov 22, 2012 at 12:24 AM, Alexandre Provencio >> >> <alexandreproven...@gmail.com> wrote: >> >> > 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 help? >> >> > >> >> > -Alexandre >> >> >> >> ------------------------------------------------------------------------------ >> >> Monitor your physical, virtual and cloud infrastructure from a single >> >> web console. Get in-depth insight into apps, servers, databases, vmware, >> >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> >> Pricing starts from $795 for 25 servers or applications! >> >> http://p.sf.net/sfu/zoho_dev2dev_nov >> >> _______________________________________________ >> >> tmux-users mailing list >> >> tmux-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users