-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
56 lines (44 loc) · 1.76 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
# Put status bar on top
set-option -g status-position top
#set-option -g status-utf8 on
set-option -g status-interval 5
set-option -g visual-activity on
# Use 24bit xterm
set -g default-terminal "xterm-24bit"
set -g terminal-overrides ',xterm-24bit:Tc'
# Start indexing at 1
set -g base-index 1
# Faster key repeats
set -s escape-time 0
# Show current active window
set-window-option -g window-status-current-fg red
set-window-option -g window-status-current-bg blue
#set-window-option -t $TMUX_PANE window-status-style "fg=black,bg=red"
#set-window-option -g utf8 on
# Custom key-bindings
#bind-key r source-file ~/.tmux.conf
bind-key S set synchronize-panes \; display "Synchronisation #{?synchronize-panes,ON,OFF}"
# force tmux to use utf-8
#setw -gq utf8 on
# Set scrollback history
set -g history-limit 3999
# Setting the top bar contents
# Right-hand side
set -g status-right-length 60
set -g status-right '#[fg=brightblue] #{prefix_highlight} #[fg=brightyellow]vol: #(sh ~/.tmux/volume)#[fg=black]|#{battery_status_bg}batt: #{battery_icon} #{battery_graph} #{battery_remain} #[fg=white]#[bg=green]|#[fg=brightgreen]%a %H:%M'
set -g @batt_remain_short false
set -g @continuum-restore 'on'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-logging'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'