I like this, I would like to add: If you don't use tmux often, then enabling only the mouse support makes it much easier:
$ cat .tmux.conf
setw -g mouse on
Now holding the right mouse button brings up the context menu: horizontal split, vertical split, etc. And you can swap, of course, between panes with the mouse.
This is much easier to remember than the various keyboard shortcuts.
Copy & pasting, however, can be a bit frustrating. I also use this in my .tmux.conf:
# Ctrl+b then v to paste from tmux's clipboard
bind-key -T prefix v paste-buffer -p
I like this, I would like to add: If you don't use tmux often, then enabling only the mouse support makes it much easier:
Now holding the right mouse button brings up the context menu: horizontal split, vertical split, etc. And you can swap, of course, between panes with the mouse.This is much easier to remember than the various keyboard shortcuts.
Copy & pasting, however, can be a bit frustrating. I also use this in my .tmux.conf:
This really should be the default. Folks who know can easily disable it.
good suggestion, added mouse tip, tnx