45 lines
1,014 B
Bash
45 lines
1,014 B
Bash
# standard
|
|
set -g default-terminal "screen-256color"
|
|
set -g history-limit 10000
|
|
|
|
# index-stuff
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
bind 0 select-window -t :10
|
|
set -g renumber-windows on
|
|
|
|
# window-titles
|
|
setw -g automatic-rename on
|
|
setw -g monitor-activity on
|
|
|
|
# controls
|
|
#set -g mouse on #disabled to allow normal control inside of panes
|
|
set -sg escape-time 0
|
|
setw -g status-keys vi
|
|
setw -g mode-keys vi
|
|
|
|
# pane resizing
|
|
bind -r -T root C-h resize-pane -L
|
|
bind -r -T root C-j resize-pane -D
|
|
bind -r -T root C-k resize-pane -U
|
|
bind -r -T root C-l resize-pane -R
|
|
|
|
bind -r -T root M-h resize-pane -L 5
|
|
bind -r -T root M-j resize-pane -D 5
|
|
bind -r -T root M-k resize-pane -U 5
|
|
bind -r -T root M-l resize-pane -R 5
|
|
|
|
# pane selection
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
bind -n M-h select-pane -L
|
|
bind -n M-j select-pane -L
|
|
bind -n M-k select-pane -U
|
|
bind -n M-l select-pane -R
|
|
|
|
# window selection
|
|
bind -n S-Left previous-window
|
|
bind -n S-Right next-window
|