-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
executable file
·56 lines (48 loc) · 1.98 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
set -g prefix `
unbind C-b
bind ` send-prefix
# reload ~/.tmux.conf using PREFIX r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# ----------------------
# Status Bar
# -----------------------
set-option -g status on # turn the status bar on
set -g status-utf8 on # set utf-8 for the status bar
set -g status-interval 5 # set update frequencey (default 15 seconds)
set-option -g status-position bottom # position the status bar at top of screen
#set-window-option -g window-status-current-format "#[fg=red](#[fg=white]#I#F$ #W#[fg=red])"
#set-window-option -g window-status-format "#[fg=normal]#I#F
# default statusbar colors
set -g status-fg white
set -g status-bg colour93 #default
# # default window title colors
set-window-option -g window-status-fg white
set-window-option -g window-status-bg colour93 #default
set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg black
set-window-option -g window-status-current-attr bright
# statusline
set -g status-left-length 90
set -g status-left '#H#[fg=green]->#[fg=grey bg=colour93]#(tmux-mem-cpu-load --colors 5)'
#set -g status-right-length 90
set -g status-right '#[fg=green]<#[fg=brightblue]%Y-%m-%d#[fg=green]<#[fg=white]%I:%M'
set -g status-justify centre # center window list for clarity
#Dynamic titles on windowlist
set-option -g set-titles on
set-option -g set-titles-string '#S:#I.#P #W' # window number,program name,active (or not)
set-window-option -g automatic-rename on # auto name
# shorten command delay
set -sg escape-time 1
# confirm before killing a window or the server
bind-key k confirm kill-window
bind-key K confirm kill-server
set -g default-terminal "xterm-256color"
set -g xterm-keys on
set -g base-index 1
# enable mouse selection in copy mode
set -g mode-mouse off
set -g mouse-resize-pane off
set -g mouse-select-pane off
set -g mouse-select-window off