* Nicholas Marriott <nicholas.marri...@gmail.com> [2013-02-09 14:50:51+0000]:
> > In sync-panes mode, can tmux paste a single buffer into multiple
> > panes? Is this possible?
>
> I'm afraid it's not, you have to use your terminal's paste or write a
> script using pasteb -t.

Great, thanks for the tip.

In case anyone else is interested, I implemented this using the following shell
script:

    #!/bin/sh

    for i in `tmux list-panes -F "#{pane_index}"`
    do
        tmux paste-buffer -b 0 -t $i
    done

And the following line in my tmux.conf:

    bind-key P run-shell /path/to/script/tmux-multi-pane-paste.sh

hth,
Thomas

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to