Discussion:
Disable pause to wait for more pane-switching commands
Kostiantyn Rybnikov
2014-11-14 15:26:43 UTC
Permalink
Hi!

Tmux has nice and intuitive functionality to switch between panes by pressing BIND+arrow. This way I visually navigate to where I want.

Problem is, I have quite a common pattern of switching to another pane, and then pressing «arrowup» to see last command I did in this pane. But when you immediately do «BIND, arrow, arrowup», it just switches twice, once per first arrow pressed, and then another time («up»), because tmux gives you a timeout to switch by multiple panes at once (by quickly pressing arrows).

I would like to turn off (or set to zero) this pause, so that if I’d want to switch, say, 2 windows left — I’d rather press «BIND+leftkey» twice, but I would knew I don’t need to wait each time before I can press «up» inside frame after switch, this annoys me a bit.

Thanks for a great product!
Thomas Adam
2014-11-20 09:28:25 UTC
Permalink
Post by Kostiantyn Rybnikov
I would like to turn off (or set to zero) this pause, so that if I’d want to switch, say, 2 windows left — I’d rather press «BIND+leftkey» twice, but I would knew I don’t need to wait each time before I can press «up» inside frame after switch, this annoys me a bit.
Just set an appropriate repeat-time value.

-- Thomas Adam
Aleksandrina Nikolova
2014-11-20 10:21:18 UTC
Permalink
Hi! You can rebind the key to not accept repeats. The default is (I believe)
bind -r Down select-pane -D
-r instructs it to wait for you to press Down again within a specified
time interval. Just bind it to
bind Down select-pane -D
and similarly for Up, Left, Right

Best wishes
Post by Kostiantyn Rybnikov
Hi!
Tmux has nice and intuitive functionality to switch between panes by pressing BIND+arrow. This way I visually navigate to where I want.
Problem is, I have quite a common pattern of switching to another pane, and then pressing «arrowup» to see last command I did in this pane. But when you immediately do «BIND, arrow, arrowup», it just switches twice, once per first arrow pressed, and then another time («up»), because tmux gives you a timeout to switch by multiple panes at once (by quickly pressing arrows).
I would like to turn off (or set to zero) this pause, so that if I’d want to switch, say, 2 windows left — I’d rather press «BIND+leftkey» twice, but I would knew I don’t need to wait each time before I can press «up» inside frame after switch, this annoys me a bit.
Thanks for a great product!
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Konstantine Rybnikov
2014-11-20 10:26:30 UTC
Permalink
Wow, thank you very much, Aleksandrina. Described method worked just as I
wanted to.

Thomas, thank you for your help, that method should work also.

Cheers!

On Thu, Nov 20, 2014 at 12:21 PM, Aleksandrina Nikolova <
Post by Aleksandrina Nikolova
Hi! You can rebind the key to not accept repeats. The default is (I believe)
bind -r Down select-pane -D
-r instructs it to wait for you to press Down again within a specified
time interval. Just bind it to
bind Down select-pane -D
and similarly for Up, Left, Right
Best wishes
Post by Kostiantyn Rybnikov
Hi!
Tmux has nice and intuitive functionality to switch between panes by
pressing BIND+arrow. This way I visually navigate to where I want.
Post by Kostiantyn Rybnikov
Problem is, I have quite a common pattern of switching to another pane,
and then pressing «arrowup» to see last command I did in this pane. But
when you immediately do «BIND, arrow, arrowup», it just switches twice,
once per first arrow pressed, and then another time («up»), because tmux
gives you a timeout to switch by multiple panes at once (by quickly
pressing arrows).
Post by Kostiantyn Rybnikov
I would like to turn off (or set to zero) this pause, so that if I’d
want to switch, say, 2 windows left — I’d rather press «BIND+leftkey»
twice, but I would knew I don’t need to wait each time before I can press
«up» inside frame after switch, this annoys me a bit.
Post by Kostiantyn Rybnikov
Thanks for a great product!
------------------------------------------------------------------------------
Post by Kostiantyn Rybnikov
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Post by Kostiantyn Rybnikov
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Loading...