summaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
blob: 11fe5598c540cacd7994fd530ae9ead7aa29e9aa (plain) (blame)
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
# Make the status line a lot more minimal, and use the same colors as my Vim
# status line
set -g status-position top
set -g status-style 'fg=#908CAA,bg=#1F1D2E'
set -g status-left ' #S | '
set -g status-right ''
set -g window-status-format '#W'
set -g window-status-current-style 'fg=white'
set -g window-status-current-format '[#W]'
set -g window-status-separator ', '

# Offsets are 0 based, indicies are 1 based
set -g base-index 1
setw -g pane-base-index 1

# I don’t really want a limit
set -g status-left-length 64

# Make colors appear properly
set -g default-terminal 'xterm-256color'
set -ga terminal-overrides ',xterm-256color:Tc'

# Removes the need for numbers by the window names
set -g renumber-windows on

# Make killing the whole thing easier
bind q kill-session

# No reason not to do this
set -g mouse on

# Quickly switch windows
bind -n C-w previous-window
bind -n C-e next-window

bind C-w send -l ''