2

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)?

1 Answer 1

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.

4
  • So the fastest pace I can do this is: CTRL-b and then e? Commented Jul 7, 2013 at 21:09
  • C-a I assume you mean SHIFT-c a. Why not just c instead of Shift-c? Commented Jul 7, 2013 at 21:17
  • No, the big C refers to the Ctrl key. It is a command shorthand. For me, I prefer C-a for my command prefix. Feels faster. You can change it to control a using this command set-option -g prefix C-a Commented Jul 7, 2013 at 21:19
  • The shorthand is explained here: cs.vassar.edu/sysnews/emacs_tips#emacs_command_shorthand Commented Jul 7, 2013 at 21:21

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.