# remap prefix from 'C-b' to 'C-a' unbind C-b set-option -g prefix C-a bind-key C-a send-prefix set-option -g default-terminal "screen-256color" # split panes using | and - bind | split-window -h bind - split-window -v unbind '"' unbind % set-option -g default-shell /bin/fish # index number starts at 1 set -g base-index 1 # vi-mode set-window-option -g mode-keys vi bind-key -T copy-mode-vi v send-keys begin-selection bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy' # reload config file (change file location to your the tmux.conf you want to use) bind r source-file /etc/tmux.conf # switch panes using Alt-arrow without prefix bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D # Enable mouse mode (tmux 2.1 and above) set -g mouse on # Neovim escape time set-option -sg escape-time 10 set-option -g focus-events on ###################### ### DESIGN CHANGES ### ###################### # loud or quiet? set -g visual-activity off set -g visual-bell off set -g visual-silence off setw -g monitor-activity off set -g bell-action none # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin "arcticicestudio/nord-tmux" set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run -b '~/.tmux/plugins/tpm/tpm'