summaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
blob: 17917813e44c3d94eee00aa8d7944cc001695b77 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set -g default-terminal screen-256color

set -g mouse on
set -g history-limit 10000
set -sg escape-time 0

set -g base-index 1
set-option -g set-titles on
set-option -g renumber-windows on
set-window-option -g automatic-rename on

# Quiet
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-option -g bell-action none
set-window-option -g monitor-activity off

# Statusline
set -g status-justify centre 
set -g status-left ''
set -g status-right ''
set-option -g status-style bg=default
setw -g window-status-current-style fg=colour81,bold
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
setw -g window-status-style fg=colour138
setw -g window-status-format ' #I#[fg=colour244]:#[fg=colour250]#W#[fg=colour244]#F '

# Remap prefix from 'C-b' to 'C-Space'
unbind C-b
set-option -g prefix C-Space
bind-key C-Space send-prefix

bind-key v split-window -h
bind-key s split-window -v

# Kill window/pane without confirmation
bind-key & kill-window
bind-key x kill-pane

# Reload config
bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf