-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
159 lines (126 loc) · 4.35 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
set -g default-terminal "screen-256color"
set -as terminal-features ",xterm-256color:RGB"
set -g window-status-format "#I #W#F"
set-option -g status-position bottom
set -g status-bg default
set -g status-style "fg=color0 bg=color0"
set -as terminal-overrides ',xterm*:RGB'
set -g renumber-windows on
set -g set-clipboard on
set -g pane-active-border-style bg=default
set -g pane-border-style bg=default
set-window-option -g window-active-style bg=terminal
set-window-option -g window-style bg=terminal
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/plugins/'
bind s choose-tree -sZ -O name
set -g prefix C-a
set -g base-index 1
setw -g pane-base-index 1
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
unbind r
bind r source-file ~/.tmux.conf
unbind [
bind-key v copy-mode
bind -r j resize-pane -D 5
bind -r k resize-pane -U 5
bind -r l resize-pane -R 5
bind -r h resize-pane -L 5
bind -r m resize-pane -Z
set -g mouse on
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection
bind p paste-buffer
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-sessionist'
set -g @plugin '2kabhishek/tmux2k'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
# set -g @plugin "janoamaral/tokyo-night-tmux"
set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'off'
# tokyo-night
# set -g @tokyo-night-tmux_window_id_style none
# set -g @tokyo-night-tmux_zoom_id_style dsquare
#
# set -g @tokyo-night-tmux_show_datetime 1
# set -g @tokyo-night-tmux_date_format MYD
# set -g @tokyo-night-tmux_time_format 12H
#
# set -g @tokyo-night-tmux_show_music 0
#
# set -g @tokyo-night-tmux_show_path 0
# set -g @tokyo-night-tmux_path_format relative # 'relative' or 'full'
#
# set -g @tokyo-night-tmux_show_wbg 0
# set -g @tokyo-night-tmux_show_git 0
# set -g @tokyo-night-tmux_theme "none"
# tmux2k
set -g @tmux2k-theme 'duo'
# to show icons only
set -g @tmux2k-icons-only true
# to customize duo bg and fg
set -g @tmux2k-duo-fg "default"
set -g @tmux2k-duo-bg "default"
# to not show powerline
set -g @tmux2k-show-powerline false
# set start icon, accpets: `session`, 'window`, or any string
set -g @tmux2k-start-icon " "
set -g @tmux2k-left-plugins " "
set -g @tmux2k-right-plugins " "
set -g @tmux2k-window-list-alignment 'right'
set -g @tmux2k-compact-windows false
# catppuccin
# set -g @catppuccin_status_background "default"
# set -g @catppuccin_status_connect_separator "no"
#
# # window icons
# set -g @catppuccin_icon_window_last " "
# set -g @catppuccin_icon_window_current " "
# set -g @catppuccin_icon_window_zoom " "
# set -g @catppuccin_icon_window_mark " "
# set -g @catppuccin_icon_window_silent " "
# set -g @catppuccin_icon_window_activity " "
# set -g @catppuccin_icon_window_bell " "
#
# # window format
# set -g @catppuccin_window_separator ""
# set -g @catppuccin_window_left_separator ""
# set -g @catppuccin_window_right_separator " "
# set -g @catppuccin_window_middle_separator " █"
# set -g @catppuccin_window_number_position "right"
# set -g @catppuccin_window_status_enable "yes"
# set -g @catppuccin_window_status_icon_enable "yes"
#
# # window default format
# set -g @catppuccin_window_default_fill "number"
# set -g @catppuccin_window_default_text "#W"
#
# # window current format
# set -g @catppuccin_window_current_fill "number"
# set -g @catppuccin_window_current_text "#W"
#
# # status modules list
# set -g @catppuccin_status_modules_right "date_time session"
# set -g @catppuccin_date_time_color "terminal"
# set -g @catppuccin_session_color "terminal"
# set -g @catppuccin_status_left_separator " "
# set -g @catppuccin_status_right_separator ""
# set -g @catppuccin_status_right_separator_inverse "no"
# set -g @catppuccin_status_fill "icon"
#
# set -g @catppuccin_pane_default_text "#{b:pane_current_path}"
# set -g @catppuccin_pane_border_style "fg=color0"
# set -g @catppuccin_pane_active_border_style "fg=color0"
# set -g @catppuccin_pane_color "color0"
# set -g @catppuccin_pane_background_color "color0"
#
# # config for date_time module
# set -g @catppuccin_date_time_text "%a %d, %I:%M %p"
run '~/.tmux/plugins/tpm/tpm'