# change prefix while keeping the original set -g prefix2 M-x set -g history-limit 9999 set -g renumber-windows on set -g base-index 1 set -g pane-base-index 1 set -g repeat-time 400 # `prefix+[` to enter copy mode -> `space` to select -> `enter` to copy -> `prefix+]` to paste set -g mode-keys vi set -g mouse on bind v break-pane bind s set synchronize-panes bind b set pane-border-status bind S-Left swap-window -t -1 bind S-Right swap-window -t +1 bind - split-window -h bind | split-window -v bind r source-file /etc/tmux.conf \; display "Reloaded !" bind , command-prompt -p "Rename window :" "rename-window '%%'" bind \; command-prompt -p "Rename pane :" "select-pane -T '%%'" bind j command-prompt -1 -p "Move current pane to window :" "join-pane -t '%%'" bind w attach -c "#{pane_current_path}" \; display "Changed default working directory to #{pane_current_path}" # -------------------- # A E S T H E T I C # -------------------- set -g status-left-length 100 set -g status-left " #S " # set -g status-justify centre middle=" #I:#W#{?window_zoomed_flag,🔍,}#{?pane_synchronized,⚓,} " set -g window-status-format $middle # set -g window-status-style bg=colour240,fg=white set -g window-status-current-format $middle set -g window-status-current-style bg=black,fg=white,bold set -g status-right-length 100 set -g status-right " #T #[bold]%R#[nobold] %A %-d %B %Y " set -g pane-border-format " #{pane_title} "