/
dot_tmux.conf
53 lines (42 loc) · 1.32 KB
/
dot_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
# Even if TERM is already tmux-256color italics don't work
#set-option -g default-terminal "tmux-256color"
set-option -g default-terminal "xterm-256color"
# True colors
#set-option -ga terminal-overrides ",st-256color:Tc"
#set-option -ga terminal-overrides ",tmux-256color:Tc"
#set-option -ga terminal-overrides ",screen-256color:Tc"
set-option -ga terminal-overrides ",xterm-256color:Tc"
# Fix escape delay in emacs
#set -s escape-time 0
# vim bindings
setw -g mode-keys vi
# escape key
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# movement commands
bind-key C-a last-window
# split commands
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# config reloads
bind r source-file ~/.tmux.conf
# sane kill command
bind k kill-window
unbind &
# default statusbar colors
set -g status-fg white
set -g status-bg "#000000"
# default window title colors
set -g window-status-style fg=white,bg=default,dim
# active window title colors
set -g window-status-current-style fg=red,bg=default,bright
# window format
set -g status-justify centre
setw -g window-status-format "#I#F$ #W"
setw -g window-status-current-format "#[fg=green][#[fg=red] #I$ #W #[fg=green]]"
# statusline
set -g status-left '#[fg=green][#[fg=white]#H#[fg=green]]['
set -g status-right '#[fg=green]][ #[fg=blue]%m/%d #[fg=white]%I:%M#[fg=green]]'