-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
85 lines (72 loc) · 2.92 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
unbind r
bind r source-file ~/.tmux.conf
set -g prefix C-s
set -g mouse on
set-option -g status-position top
# pane motion
bind-key -n C-h select-pane -L
bind-key -n C-j select-pane -D
bind-key -n C-k select-pane -U
bind-key -n C-l select-pane -R
# window motion
bind [ prev
bind ] next
# splits
bind v split-window -v
bind h split-window -h
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'christoomey/vim-tmux-navigator'
# set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
# tmux colors/bg
set -g default-terminal "screen-256color"
set -g terminal-overrides ",xterm-256color:Tc"
set status-bg default
set-option -g status-style bg=default
# lackluster theme begin
color_lack="#708090"
color_luster="#deeeed"
color_orange="#ffaa88"
color_green="#789978"
color_blue="#7788AA"
color_red="#D70000"
color_black="#000000"
color_gray1="#080808"
color_gray2="#191919"
color_gray3="#2a2a2a"
color_gray4="#444444"
color_gray5="#555555"
color_gray6="#7a7a7a"
color_gray7="#aaaaaa"
color_gray8="#cccccc"
color_gray9="#DDDDDD"
# set to 12 for a 12-hour clock
set-option -g clock-mode-style 24
set-option -g clock-mode-colour "$color_gray6"
# NOTE: color variable expansion only works in double quotes
set-option -g status-fg "$color_luster"
set-option -g status-bg "$color_gray2"
set-option -g copy-mode-current-match-style "fg=$color_gray1,bg=$color_gray8"
set-option -g copy-mode-match-style "fg=$color_gray1,bg=$color_gray8"
set-option -g menu-selected-style "fg=$color_gray1,bg=$color_luster"
set-option -g menu-style "fg=$color_luster,bg=$color_gray1"
set-option -g message-style "bg=$color_gray6,fg=$color_gray1" # command in vi-insert mode
set-option -g message-command-style "bg=$color_gray6,fg=$color_gray4" # command in vi-normal mode
set-option -g mode-style "bg=$color_gray8,fg=$color_gray1"
set-option -g pane-active-border-style "fg=$color_gray1"
set-option -g pane-border-lines "heavy"
set-option -g pane-border-style "fg=$color_gray1"
set-option -g pane-border-style "fg=$color_gray5"
set-option -g popup-border-lines "rounded"
set-option -g status-right-style "fg=$color_gray6"
set-option -g window-status-current-style "fg=$color_gray8"
set-option -g window-status-style "fg=$color_gray6"
# display the window index number or index-number:name if has a name
set-option -g window-status-format ' #{?#{==:#W,},#I,#I:#W} '
set-option -g window-status-current-format ' #{?#{==:#W,},#I,#I:#W} '
# status right will show the time in 24 hour format and if there is more than one
# server session the current session name will be there too
set-option -g status-right ' #{?#{>:#{server_sessions},1},(#{session_name}),} #(date +"%Hh%M") '
set-option -g status-left ' '
# lackluster theme end
run '~/.tmux/plugins/tpm/tpm'