# Minimal tmux config. # One thing to remember: Prefix h = help. # Prefix is default: Ctrl-b. ##### fix Pi warning / modern keyboard input set -g extended-keys on set -g extended-keys-format csi-u ##### sane defaults set -g mouse on set -g history-limit 50000 set -g renumber-windows on set -g base-index 1 setw -g pane-base-index 1 setw -g mode-keys vi set -g status-keys vi set -g escape-time 10 set -g focus-events on set -g set-clipboard on ##### color set -g default-terminal "tmux-256color" set -as terminal-features ',*:RGB' ##### new panes/windows open where you are bind c new-window -c "#{pane_current_path}" unbind % unbind '"' bind | split-window -h -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}" ##### quick reload bind r source-file ~/.config/tmux/tmux.conf \; display-message "tmux config reloaded" ##### help: the only shortcut to memorize bind h display-popup -w 82% -h 82% -k 'sh -c "cat <