-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
61 lines (36 loc) · 1.31 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
59
60
set-option -ga terminal-overrides ',*:enacs@:smacs@:rmacs@:acsc@'
### Use Ctrl+a instead of Ctrl+b
# Unbind Ctrl+a
unbind C-b
# Bind Ctrl+a
set -g prefix C-a
### Use Ctrl+a R to reload config file
bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
### Define Custom Menu Bar
## Status-bar colors
# Background: Black
set -g status-bg black
# Font color: White
set -g status-fg white
## Alignment settings
# Align Status-bar to the center
set-option -g status-justify centre
## Status-bar - Left corner
# Set length
set -g status-left-length 25
# Show username@hostname
set -g status-left '#[fg=white][#[fg=green]#(whoami) @ #H#[fg=white]]'
## Window-list options
# Enable auto-renaming
setw -g automatic-rename on
# Enable windows auto renumbering (e.g. when window is closed)
set-option -g renumber-windows on
# Format window name
set-window-option -g window-status-format '#[fg=cyan,dim]#I# #[default]#W#[fg=grey,dim]#F'
# Format window name - current (blue background)
set-window-option -g window-status-current-format '#[bg=blue,fg=cyan,bold] #I#[bg=blue,fg=cyan] #[fg=colour230]#W#[fg=dim]#F '
# Start window numbering from 1
set -g base-index 1
## Status-bar - right corner
# Show date and time
set -g status-right '#[fg=green][#[fg=white]%Y-%m-%d #[fg=white]%H:%M#[default]#[fg=green]]'