1

I find Ctrl+b " and Ctrl+b x to be difficult to press quickly. I know you can change the prefix to something else, and rebind keys.

However I'd ideally like buttons that allow me to create new panes and close them. This would work well with the mouse mode I'm already using to resize and switch to panes. Is there a tmux plugin that would give me buttons like this?

Adam Griffiths
  • 331
  • 3
  • 7

2 Answers2

2

You can build tmux from master or 3.0 and then use the menus. If you have mouse on, then you can right click on a pane to split it or kill it (or Meta + right click if it is copy mode or running an application that uses the mouse):

enter image description here

If you don't like the default menus then you can customize them by changing the key bindings.

Nicholas Marriott
  • 3,630
  • 9
  • 12
0

Actually, perhaps you are talking about mouse buttons - you can bind the mouse buttons to anything you like, for example:

bind -n M-DoubleClick1 split-window

Will make Meta + double click split the pane.

muru
  • 69,900
  • 13
  • 192
  • 292
Nicholas Marriott
  • 3,630
  • 9
  • 12