aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/tmux.conf
blob: 70c3188c222fa852cd9c7e25afbc4a6dfca3eb64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set -sg escape-time 0

# Use Ctrl-G for prefix
unbind C-b
set-option -g prefix C-g
bind-key C-g send-prefix

set-option -gw xterm-keys on

# Tab key
bind-key -nr C-_ send-keys C-/

new-session                       # Start a new session if none available

bind N new-session
bind-key -n C-F3 set-option -g status #Ctrl+F3 Combo

bind k copy-mode
bind-key T swap-window -t 0

bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."

bind C-q select-layout even-horizontal
bind C-w select-layout even-vertical
bind C-e select-layout main-horizontal
bind C-r select-layout main-vertical