-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
76 lines (63 loc) · 2.93 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
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-logging'
#Theme
# set -g @plugin 'fabioluciano/tmux-tokyo-night'
#Resurrect your session
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
#vimmode
setw -g mode-keys vi
#Mouse
set -g mouse on
### Tokyo Night Theme configuration
set -g @theme_variation 'moon'
set -g @theme_left_separator ''
set -g @theme_right_separator '|'
set -as terminal-features ",*:RGB"
# set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
#--------------------------------------------------------------------------
# Status line
#--------------------------------------------------------------------------
# # Status line customisation
set-option -g status-left-length 100
set-option -g status-right-length 100
set-option -g status-left " tmux on >>> #{session_name} "
set-option -g status-right '#[fg=#8fBA61,bg=default]uptime #(uptime | awk "{print \$3}" | tr -d ",") #[default] #H'
#
# # set-option -g status-style "fg=#7C7D83 bg=#18242e" # ayu
set-option -g status-style "fg=#ffffff bg=#013966" # tokyo night
# # set-option -g status-style "fg=#7C7D83 bg=#24282f" # one dark
# # set-option -g status-style "fg=#7C7D83 bg=default" # gruvbox dark
# # set-option -g status-style "fg=#828bb1 bg=default" # default will set the background to transparent
#
set-option -g window-status-format "#{window_index}:#{window_name}#{window_flags} " # window_name -> pane_current_command
set-option -g window-status-current-format "#{window_index}:#{window_name}#{window_flags} "
# set-option -g window-status-current-style "fg=#dcc7a0" #for gruvbox use: dcc7a0 or aeb6ff
set-option -g window-status-current-style "fg=#8fBA61" #for gruvbox use: dcc7a0 or aeb6ff
set-option -g window-status-activity-style none
#
# set-option -g status on
# set-option -g status-interval 1
set-option -g status-justify left
# set-option -g status-keys vi
# set-option -g status-position bottom
# set-option -g status-style fg=colour136,bg=colour235
# set-option -g status-left-length 20
# # set-option -g status-left-style default
# # set-option -g status-left "#[fg=green]#H #[fg=black]• #[fg=green,bright]#(uname -r)#[default]"
# set-option -g status-right-length 140
# # set-option -g status-right-style default
# set-option -g status-right "#[fg=green,bg=default,bright]#(tmux-mem-cpu-load) "
# set-option -ag status-right "#[fg=red,dim,bg=default]#(uptime | cut -f 4-5 -d ' ' | cut -f 1 -d ',') "
# # set-option -ag status-right " #[fg=white,bg=default]%a%l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d"
# set-window-option -g window-status-style fg=colour244
# set-window-option -g window-status-style bg=default
# set-window-option -g window-status-current-style fg=colour166
# set-window-option -g window-status-current-style bg=default
#
#
run '~/.tmux/plugins/tpm/tpm'