My tmux config is the next:
But I have done a few little changes, you can find and use them yourself after properly installing the above configuration and replacing the next files:
Contents of .tmux.conf: https://pastebin.com/LZUShQqG
Contents of .tmux.conf.local: https://pastebin.com/tbk34KnC
With this configuration prefixes are either "control + a" or "control + b".
# Common stuff:prefix + , = rename windowprefix + | = split pane verticallyprefix + _ = split pane horizontallyprefix + ! = break pane to a new tabprefix + r = reload tmux configurationprefix + x = kill current paneprefix + c = create new paneprefix + control + C = create new windowprefix + m = mouse on/off # Scroll up and down / switch to a pane or resize itprefix + s = display windows and navigate through themprefix + f = find windowprefix + [ = enter copy modeprefix + space = randomly organize panesprefix + number = switch to another tabprefix + { or } = rotate panesprefix + arrow keys = switch current paneprefix + a and control + o = rotate everything anti clockwise directionprefix + hold control + arrow key = resize pane# Search with tmux:prefix + [ and then control + s (each n key after pressing enter means next result)# Copy with tmux:prefix + [ to move, control + space to start, alt + w to stop, prefix + ] to paste# Extras I rarely use:prefix + w = display windows and panesprefix + : + join-pane -s 1 -t 3 # sends pane 3 where 1 isprefix + z = sum mode - visualize in a bigger pane, press again to returnprefix + q = displays pane id# Not tmux stuff but worth it to have in mind:control + r = command history searchcontrol + c = cancel / closecontrol + d = exit# Attach session when closed accidentallytmux attach -t {}