38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
set -g prefix C-a
|
|
set-option -g default-shell /bin/zsh
|
|
unbind C-b
|
|
bind-key C-a send-prefix
|
|
unbind q
|
|
bind q confirm kill-window
|
|
bind Q confirm kill-pane
|
|
set -g status on
|
|
bind-key -n C-f copy-mode \; send-key ?
|
|
set -g default-terminal "st-256color"
|
|
set -g history-limit 20000
|
|
set-option -sg escape-time 0
|
|
set -g base-index 1 # start windows numbering at 1
|
|
setw -g pane-base-index 1 # make pane numbering consistent with windows
|
|
setw -g automatic-rename on # rename window to reflect current program
|
|
set -g renumber-windows on # renumber windows when a window is closed
|
|
set -g set-titles on # set terminal title
|
|
set -g display-panes-time 800 # slightly longer pane indicators display time
|
|
set -g display-time 1000 # slightly longer status messages display time
|
|
set -g status-interval 10 # redraw status line every 10 seconds
|
|
set -g status-style bg=blue
|
|
set -g status-style fg=white
|
|
set -g monitor-activity on
|
|
set -g visual-activity off
|
|
bind C-c new-session
|
|
bind C-f command-prompt -p find-session 'switch-client -t %%'
|
|
bind - split-window -v
|
|
bind _ split-window -h
|
|
bind > swap-pane -D # swap current pane with the next one
|
|
bind < swap-pane -U # swap current pane with the previous one
|
|
bind -r H resize-pane -L 2
|
|
bind -r J resize-pane -D 2
|
|
bind -r K resize-pane -U 3
|
|
bind -r L resize-pane -R 2
|
|
bind -r C-h previous-window # select previous window
|
|
bind -r C-l next-window # select next window
|
|
bind Tab last-window # move to last active window
|