aboutsummaryrefslogtreecommitdiff
path: root/configs/tmux.conf
blob: e8c9ff6869bf323d3a0af2802fd92516800c97a8 (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
set -g prefix C-z
unbind C-b
bind C-z send-prefix

set -g escape-time 20
set -g base-index 1
set -g mode-keys vi

set -g default-terminal "screen-256color"
set -g status-style "fg=#ffffea, bg=green"

# Keybindings
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

bind TAB next-window
bind a if-shell "tmux ls | grep pulse" { attach -t "pulse" } { new-session -s "pulse" "pulsemixer" }
bind e if-shell "tmux ls | grep mail" { attach -t "mail" } { new-session -s "mail" "neomutt" }
bind s display-popup -E "sw"
bind C-p display-popup -E "sht"
bind C-s split-window
bind C-v split-window -h