Re: tmux: auto adjust terminal length when tmux pane got resized

2014-11-08 Thread ping song
thanks for response. I re-tested it and couldn't reproduce. finally I realized it's in another scenario that this issue appears painfully: login to remote server from ssh/telnet in pane, start vim from the remote machine resize pane naturelly the remote machines vim couldn't adjust the new screen w

Re: interpolate #{pane_tty} into copy-pipe

2014-11-08 Thread Suraj N. Kurapati
On Wed, 5 Nov 2014 22:57:14 +, Nicholas Marriott wrote: > Try this please Thanks! The following configuration now works due to this patch: bind-key -t vi-copy y copy-pipe 'yank > #{pane_tty}' I would request you to promote this patch into the tmux codebase. > (although if your terminal s

Re: [PATCH 1/2] Move pane-{active, }-border-{style, fg, bg} options to window

2014-11-08 Thread Marc Finet
On Sat, 8 Nov 2014 12:44:39 +, Nicholas Marriott wrote: > On Sat, Nov 08, 2014 at 11:40:51AM +0100, Marc Finet wrote: > > It could be useful to configure pane border style per window, > > Well, it could be useful but is it actually useful? Do you want to do > this or are you just doing it s

Re: [PATCH 1/2] Fix broken reflowing after insert/delete characters

2014-11-08 Thread Nicholas Marriott
Both this and the other one make sense to me - applied, thanks! On Fri, Nov 07, 2014 at 04:31:10PM +, Balazs Kezes wrote: > Steps to reproduce: > 1. Create a vertical split. > 2. Assuming we are running bash in the left pane, enter this: >echo -e 'xy\e[D\e[@' ># or >echo -e 'xyz\e

Re: [PATCH 2/2] Support empty string for conditional in format

2014-11-08 Thread Nicholas Marriott
Yes, applied, thanks On Sat, Nov 08, 2014 at 11:40:52AM +0100, Marc Finet wrote: > This could be useful to have string for conditional e.g. > automatic-rename-format #{?pane_title,pane_title,pane_current_command} > This patch makes such an emptry string trigger the second value. > --- > format.c

Re: [PATCH 1/2] Move pane-{active, }-border-{style, fg, bg} options to window

2014-11-08 Thread Nicholas Marriott
On Sat, Nov 08, 2014 at 11:40:51AM +0100, Marc Finet wrote: > It could be useful to configure pane border style per window, Well, it could be useful but is it actually useful? Do you want to do this or are you just doing it speculatively? > especially when linked to synchronise-pane feature. Even

[PATCH 2/2] Support empty string for conditional in format

2014-11-08 Thread Marc Finet
This could be useful to have string for conditional e.g. automatic-rename-format #{?pane_title,pane_title,pane_current_command} This patch makes such an emptry string trigger the second value. --- format.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/format.c b/format.c in

[PATCH 1/2] Move pane-{active, }-border-{style, fg, bg} options to window

2014-11-08 Thread Marc Finet
It could be useful to configure pane border style per window, especially when linked to synchronise-pane feature. Even if entries are not exactly sorted (i.e. after pane-base-index), they are at least grouped together. --- options-table.c | 68 --

[PATCH 0/2] Misc patches for review/inclusion

2014-11-08 Thread Marc Finet
Hello, Please consider the following patches for review/inclusion. If the man page should remain alphabetically sorted I have to rework the first patch. Thanks, Marc Patches Move pane-{active,}-border-{style,fg,bg} options to window Support empty string for conditional in format format.c