aboutsummaryrefslogblamecommitdiff
path: root/.tmux.conf
blob: 42e2c27a68ae70a704cfc3b0ff6829f6b085d548 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                            

                    












                                               












                                       
setw -g automatic-rename
set-option -g prefix C-t

# screen like settings
bind C-n next-window
bind C-p previous-window
bind C-d detach
bind C-k confirm kill-window
bind k confirm kill-window
bind K confirm kill-server
bind C-K confirm kill-server
bind t send-prefix
bind C-t send-prefix

# Enable the mouse
setw -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
set -g set-titles on
set -g base-index 0

# Set window titles
set-option -g set-titles on
# [session:window-name host] command
set-option -g set-titles-string '[#S:#I #H] #W'

# Resize when possible
setw -g aggressive-resize on

# emacs key bindings
set -g mode-keys emacs
set -g status-keys emacs

# active window colour in status
set -g window-status-current-bg white
set -g window-status-current-fg magenta
set -g window-status-bell-bg red
set -g window-status-bell-fg yellow