You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.2 KiB
Plaintext
88 lines
2.2 KiB
Plaintext
# Set the prefix to ^A
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
bind a send-prefix
|
|
|
|
bind C-c new-window
|
|
bind C-d detach
|
|
bind C-a last-window
|
|
|
|
bind-key -n C-0 select-window -t :0
|
|
bind-key -n C-1 select-window -t :1
|
|
bind-key -n C-2 select-window -t :2
|
|
bind-key -n C-3 select-window -t :3
|
|
bind-key -n C-4 select-window -t :4
|
|
bind-key -n C-5 select-window -t :5
|
|
bind-key -n C-6 select-window -t :6
|
|
bind-key -n C-7 select-window -t :7
|
|
bind-key -n C-8 select-window -t :8
|
|
bind-key -n C-9 select-window -t :9
|
|
|
|
set -g mode-keys vi
|
|
|
|
# Terminal Titles
|
|
set -g set-titles on
|
|
set -g set-titles-string "#H (#S)"
|
|
|
|
# Status
|
|
set -g status on
|
|
|
|
# Escape delay
|
|
set -s escape-time 1
|
|
|
|
# Plugins
|
|
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-copycat'
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
|
set -g @plugin 'tmux-plugins/tmux-open'
|
|
set -g @plugin 'tmux-plugins/tmux-pain-control'
|
|
set -g @plugin 'jbnicolai/tmux-urlview'
|
|
set -g @plugin 'christoomey/vim-tmux-navigator'
|
|
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
|
|
|
|
set -g status-right ''
|
|
set -g status-left ''
|
|
|
|
# default statusbar colors
|
|
set-option -g status-bg default
|
|
set-option -g status-fg '#666666'
|
|
set-option -g status-attr default
|
|
|
|
# default window title colors
|
|
set-window-option -g window-status-fg '#666666'
|
|
set-window-option -g window-status-bg default
|
|
|
|
# active window title colors
|
|
set-window-option -g window-status-current-fg white
|
|
set-window-option -g window-status-current-bg default
|
|
|
|
set-window-option -g window-status-format ' #I #W'
|
|
set-window-option -g window-status-current-format ' #I #W'
|
|
set-window-option -g window-status-separator ' '
|
|
|
|
set-window-option -g base-index 1
|
|
|
|
# pane border
|
|
set-option -g pane-border-fg '#666666'
|
|
set-option -g pane-active-border-fg '#666666'
|
|
|
|
# message text
|
|
set-option -g message-bg black
|
|
set-option -g message-fg white
|
|
|
|
# pane number display
|
|
set-option -g display-panes-active-colour white
|
|
set-option -g display-panes-colour white
|
|
|
|
# clock
|
|
set-window-option -g clock-mode-colour white
|
|
|
|
# Initialize TMUX plugin manager
|
|
run '~/.tmux/plugins/tpm/tpm'
|
|
|
|
# mouse
|
|
set-option -g mouse on
|