|
|
|
# remap prefix to Control + a
|
|
|
|
set -g prefix C-a
|
|
|
|
# bind 'C-a C-a' to type 'C-a'
|
|
|
|
bind C-a send-prefix
|
|
|
|
unbind C-b
|
|
|
|
|
|
|
|
# use the damn mouse, for a change
|
|
|
|
setw -g mouse on
|
|
|
|
|
|
|
|
# colorful terminal
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
|
|
|
|
# Start windows and panes at 1, not 0 (this makes it easier to jump around)
|
|
|
|
set -g base-index 1
|
|
|
|
set -g pane-base-index 1
|
|
|
|
|
|
|
|
# do not wait after switching panels
|
|
|
|
set-option -g repeat-time 0
|
|
|
|
|
|
|
|
# Removes ESC delay
|
|
|
|
set -sg escape-time 0
|
|
|
|
|
|
|
|
# history
|
|
|
|
set-option -g history-limit 7000
|
|
|
|
|
|
|
|
# vi keys
|
|
|
|
set-window-option -g mode-keys vi
|
|
|
|
|
|
|
|
# TPM
|
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-pain-control'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-copycat'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-open'
|
|
|
|
set -g @plugin 'jimeh/tmux-themepack'
|
|
|
|
set -g @plugin 'arcticstudio/nord-tmux'
|
|
|
|
|
|
|
|
set -g @themepack 'block/cyan'
|
|
|
|
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|