-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
139 lines (71 loc) · 3.07 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#####################################################
# #
# The-0DAT Tmux Configuration #
# #
#####################################################
# Prefix Key | Use CTRL + Z For Prefix [Default: C-b] {{{
set-option -g prefix C-z
unbind-key C-b
bind-key C-z send-prefix
# End Of Prefix Key }}}
# Split Key | Use \\ For -h & Use - For -h {{{
bind \\ split-window -h
bind - split-window -v
unbind '"'
unbind %
# End Of Split Key }}}
# The Messages {{{
set -g message-style bold
set -g message-style bg=colour166,fg=colour232
set -g message-command-style bg=black,fg=blue
# End Of Messages }}}
# The Frequencey | Set Update Frequencey [Default: 15s] {{{
set -g status-interval 5
# End Of Frequencey }}}
# Visual Notification | Of Activity In Other Window {{{
setw -g monitor-activity on
set -g visual-activity on
# End Of Visual Notification }}}
# Fix Scrolling Issues {{{
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# End Of Fix Scrolling Issues }}}
# Colors & Shell | Set The Default Shell And Set The 256 Colors [BTW, Replace The Shell Name] {{{
set-option -g default-shell /usr/bin/zsh
set-option -g default-terminal screen-256color
# End Of Colors & Shell }}}
# Enable The VIM Keys {{{
setw -g mode-keys vi
set-option -g status-keys vi
# End Of The VIM Keys }}}
# Session | Start From 1 [Default: 0] {{{
set -g base-index 1
# End Of Session }}}
# R Key | Use "R" Key For Reloaded Configuration
bind-key R source-file ~/.tmux.conf \; display-message "Configuration Successfully Reloaded!"
# End Of R Key }}}
# Zoom | Zoom This Pane To Full Screen {{{
bind-key C-+ \
new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \;\
swap-pane -s tmux-zoom.0 \;\
select-window -t tmux-zoom
# End Of Zoom }}}
# The Status Bar {{{
set-option -g status-position bottom
set-option -g status-style none
# End Of The Start Bar }}}
# Automatic Rename {{{
set-option -g automatic-rename on
# End Of Automatic Rename }}}
# The Status Left {{{
set-option -g status-left-length 20
set-option -g status-left '#[fg=colour13]#(echo "Session: ")#[fg=colour208]#{session_name}'
set-option -g status-justify centre
# End Of Status Left }}}
# The Window Status {{{
set-option -g window-status-format '#[fg=colour231]#{window_index}#(echo ":")#{window_name}#{window_flags}'
set-option -g window-status-current-format '#[bold,fg=orange]#{window_index}#(echo ":")#{window_name}#{window_flags}'
# End Of The Window Status }}}
# The Status Right {{{
set -g status-right-length 200
set -g status-right '#[fg=colour237][#[fg=white]#[fg=blue]%d-%m-%Y#[fg=colour237] #(echo "|")#[fg=colour226] %H:%M#[default]#[fg=colour237]]#[fg=colour237][#[fg=colour76] #(whoami)@#(hostname)#[fg=colour238]][#[fg=colour197]♫ #(mpc status | head -n 1) #[fg=colour237]]'
# End Of Status Right }}}