# TPM plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' run '~/.tmux/plugins/tpm/tpm' # General set -g default-shell /bin/zsh set -g default-terminal 'tmux-256color' set -g mouse on set -g history-limit 10000 set -g base-index 1 setw -g pane-base-index 1 set -g escape-time 10 set -g repeat-time 500 set -g mode-keys vi set -g status-keys vi # Unbind the default arrow keys unbind-key Up unbind-key Down unbind-key Left unbind-key Right # Move between panes bind-key -n M-h select-pane -L bind-key -n M-j select-pane -D bind-key -n M-k select-pane -U bind-key -n M-l select-pane -R bind-key -n M-ù split-window -h bind-key -n M-$ split-window -v # Prefix unbind C-b set -g prefix C-a bind C-a send-prefix # Status bar set -g status on set -g status-interval 5 set -g status-position bottom set -g status-left "#[fg=white]#[fg=black,bg=cyan] #(whoami) #[fg=blue,bg=default] " set -g status-right "#[fg=cyan,bg=default]#[fg=black,bg=cyan] #(hostname)  %H:%M #[fg=cyan,bg=default]" set -g status-style bg=default,fg=white set -g window-status-format "#[fg=white]#[fg=black bg=cyan] #I  #W #[fg=blue, bg=default]" set -g window-status-current-format "#[fg=white,bg=black]#[fg=colour232,bg=yellow] #I  #W #[fg=cyan,bg=default]" # Pane and window style set -g pane-border-status bottom set -g pane-border-format '#P' set -g pane-border-style fg=grey set -g pane-active-border-style fg=cyan setw -g automatic-rename on