My tmux config and shortcuts

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

Cheatsheet:

With this configuration prefixes are either "control + a" or "control + b".

# Common stuff:
prefix + , = rename window
prefix + | = split pane vertically
prefix + _ = split pane horizontally
prefix + ! = break pane to a new tab
prefix + r = reload tmux configuration
prefix + x = kill current pane
prefix + c = create new pane
prefix + control + C = create new window
prefix + m = mouse on/off # Scroll up and down / switch to a pane or resize it
prefix + s = display windows and navigate through them
prefix + f = find window
prefix + [ = enter copy mode
prefix + space = randomly organize panes
prefix + number = switch to another tab
prefix + { or } = rotate panes
prefix + arrow keys = switch current pane
prefix + a and control + o = rotate everything anti clockwise direction
prefix + 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 panes
prefix + : + join-pane -s 1 -t 3 # sends pane 3 where 1 is
prefix + z = sum mode - visualize in a bigger pane, press again to return
prefix + q = displays pane id
# Not tmux stuff but worth it to have in mind:
control + r = command history search
control + c = cancel / close
control + d = exit
# Attach session when closed accidentally
tmux attach -t {}