-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
58 lines (47 loc) · 1.11 KB
/
tmux.conf
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Dylan's Tmux config
# Set prefix key to C-x
unbind C-b
set -g prefix C-x
bind C-x send-prefix
# i3 split bindings
bind g split-window -h
bind v split-window -v
unbind '"'
unbind %
# vim split navigation
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# equalize splits with x
unbind space
bind x select-layout even-vertical
# window switching
unbind n
unbind c
bind c new-window
unbind ,
unbind .
bind , previous-window
bind . next-window
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# status line
set -g status-utf8 on
set -g status-bg default
set -g status-fg default
set -g status-interval 2
setw -g window-status-format "#[bg=default]#[fg=colour8] #W "
setw -g window-status-current-format "#[bg=default]#[fg=colour9,bold] #W "
setw -g window-status-current-attr dim
set -g status-position bottom
set -g status-justify centre
set -g status-left ' '
set -g status-right ' '
# Disable split borders
set -g pane-border-fg black
set -g pane-active-border-fg black
set -g pane-active-border-bg black
# Fix neovim escape issue
set -sg escape-time 0