36 lines
805 B
Plaintext
36 lines
805 B
Plaintext
|
# Change keybinding from C-b to C-a (screenlike)
|
||
|
unbind C-b
|
||
|
set-option -g prefix C-a
|
||
|
bind a send-prefix
|
||
|
|
||
|
# Change previous window binding from l to C-a (screenlike)
|
||
|
unbind l
|
||
|
bind C-a last-window
|
||
|
|
||
|
# Reload configs for faster config testing
|
||
|
bind r source-file ~/.tmux.conf
|
||
|
|
||
|
# start numbering windows at 1
|
||
|
set -g base-index 1
|
||
|
set-window-option -g pane-base-index 1
|
||
|
|
||
|
set-window-option -g automatic-rename on
|
||
|
set-option -g set-titles on
|
||
|
|
||
|
set -g default-terminal screen-256color
|
||
|
set -g status-keys vi
|
||
|
set -g history-limit 1000
|
||
|
|
||
|
setw -g mode-keys vi
|
||
|
setw -g mouse on
|
||
|
setw -g monitor-activity on
|
||
|
|
||
|
# Don't insert a delay before sending escape
|
||
|
set -sg escape-time 0
|
||
|
|
||
|
# Bind Alt-<vi arrow) to pane switching
|
||
|
bind -n M-h select-pane -L
|
||
|
bind -n M-j select-pane -D
|
||
|
bind -n M-k select-pane -U
|
||
|
bind -n M-l select-pane -R
|