|
|
|
# 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
|
|
|
|
set -g base-index 1
|
|
|
|
set -g pane-base-index 1
|
|
|
|
|
|
|
|
# powerline line
|
|
|
|
# run-shell "powerline-daemon -q"
|
|
|
|
# source "/usr/share/tmux/powerline.conf"
|
|
|
|
|
|
|
|
# do not wait after switching panels
|
|
|
|
set-option -g repeat-time 0
|
|
|
|
|
|
|
|
# Removes ESC delay
|
|
|
|
set -sg escape-time 0
|
|
|
|
|
|
|
|
# Pane and window management with function keys
|
|
|
|
bind-key -n F4 split-window
|
|
|
|
bind-key -n F5 split-window -h
|
|
|
|
bind-key -n F7 new-window
|
|
|
|
|
|
|
|
# history
|
|
|
|
set-option -g history-limit 7000
|
|
|
|
|
|
|
|
# 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 'tmux-plugins/tmux-battery'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-cpu'
|
|
|
|
# set -g @plugin 'caiogondim/maglev'
|
|
|
|
set -g @plugin 'jimeh/tmux-themepack'
|
|
|
|
|
|
|
|
set -g @themepack 'double/cyan'
|
|
|
|
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|