blob: e6b5d2cdefb437100314ada381b1a5379ed0d345 (
plain) (
tree)
|
|
# KEY BINDINGS
#new-session -n $HOST
setw -g mode-keys vi
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
unbind a
bind-key a copy-mode
unbind p
bind p paste-buffer
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# switch panes using vim-like bindings C-a hjkl
unbind h
unbind j
unbind k
unbind l
bind h select-pane -L
bind l select-pane -R
bind k select-pane -U
bind j select-pane -D
# switch panes using bindings C-q C-hl
unbind ^H
unbind ^L
bind ^H previous-window
bind ^L next-window
# OTHER OPTIONS
#set -g mouse on
set -g escape-time 0
# don't rename windows automatically
set-option -g allow-rename off
######################
### DESIGN CHANGES ###
######################
set -g status-bg colour6
set -g default-terminal "screen-256color"
#set -ga terminal-overrides ',xterm*:smglr=\E7\E[?69h\E[%i%p1%d;%p2%ds\E8:mgc=\E7\E[?69l\E8'
|