|
|
|
# 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
|
|
|
|
set-window-option -g mode-keys vi
|
|
|
|
|
|
|
|
|
|
|
|
# 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-yank'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-pain-control'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-copycat'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
|
|
set -g @plugin 'jimeh/tmux-themepack'
|
|
|
|
|
|
|
|
set -g @themepack 'block/cyan'
|
|
|
|
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|
|
|
|
|
|
|
|
# colorful terminal
|
|
|
|
set -g default-terminal "xterm-256color"
|