This repository has been archived by the owner on Dec 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmux.conf
77 lines (57 loc) · 2.18 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# History
set -g history-limit 10000
# Terminal emulator window title
set -g set-titles on
set -g set-titles-string '[#S:#I.#H] #W'
# Status Bar
set-option -g status-bg white
set-option -g status-fg black
# Notifying if other windows has activities
setw -g monitor-activity off
set -g visual-activity on
# Clock
setw -g clock-mode-colour green
setw -g clock-mode-style 24
# make scrolling with wheels work
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
# Mouse Support
setw -g mouse
# Add SSH_TTY to the list of environment variables tmux knows about:
set-option -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY SSH_TTY"
# Assume terminals want 256 colors
set-option -g default-terminal screen-256color
# Colors
# Status bar has a dim gray background
set-option -g status-bg black
set-option -g status-fg colour74
# Left shows the session name, in blue
set-option -g status-left-bg default
set-option -g status-left-fg colour74
# Right is some CPU stats, so terminal green
set-option -g status-right-bg default
set-option -g status-right-fg black
set -g status-right "Impossible is a State of Mind"
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style 'bg=colour219 fg=colour137'
set -g status-left '#[fg=colour233,bg=colour219] %d/%m #[fg=colour233,bg=colour8] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-current-style 'fg=colour1 bg=colour219 bold'
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
setw -g window-status-style 'fg=colour9 bg=colour219'
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
# Highlighting the active window in status bar
setw -g window-status-current-bg colour234
setw -g window-status-current-fg colour71
# zsh
set-option -g default-shell ${SHELL}
set-option -g default-shell /bin/zsh
new-session