I managed to be able to resize panes in tmux thanks to this answer.
But now I press CTRL-b
and then e
each time I want to resize the pane (e.g. make larger to the left).
How could I bind the CTRL-b
as well so I only press a single key e.g. just e
and resize the pane (instead of pressing CTRL-b
and then e
)?
Asked
Active
Viewed 114 times
2
1 Answers
3
It does not really make sense to bind the command prefix to another key in such a way that it goes away (changing the prefix, however, is common; many people prefer C-a
). The whole point of the prefix is to let tmux know the next key sequence you enter is intended for tmux and not the program open in the tmux pane.
So if you were able to bind C-b e
to the e
key, you would then not be able to type e
when providing normal input to whatever programs are open in your tmux panes.

Matthew Mellott
- 124
CTRL-b
and thene
? – Jim Jul 07 '13 at 21:09C-a
I assume you meanSHIFT-c a
. Why not justc
instead ofShift-c
? – Jim Jul 07 '13 at 21:17C-a
for my command prefix. Feels faster. You can change it to control a using this commandset-option -g prefix C-a
– Matthew Mellott Jul 07 '13 at 21:19