-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
151 lines (121 loc) · 4.78 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
# ======================================
# KEYBINDINGS
# ======================================
# source/reload tmux.conf using crtl-s r
unbind r
bind r source-file ~/.tmux.conf
# change leader key from crtl-b to crtl-s
set -g prefix C-s
# Enable mouse support
setw -g mouse on
# vim keybindings
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Key bindings for splitting panes
bind | split-window -h
bind - split-window -v
# switching tmux session
# Switch to next session
bind -n M-n switch-client -n
# Switch to previous session
bind -n M-p switch-client -p
# ======================================
# UI
# ======================================
set -s default-terminal 'xterm-256color'
# set -s default-terminal 'screen-256color'
set -g pane-border-style fg=cyan,bg=default
set -g pane-active-border-style fg=brightred,bg=default
set -g window-style 'bg=default'
set -g window-active-style 'bg=default'
set -g status-style fg=default,bg=default # set statusline to transparent
# ======================================
# PLUGINS
# ======================================
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
# set -g @plugin 'dracula/tmux'
# set -g @plugin 'catppuccin/tmux'
# set -g @plugin 'Nybkox/tmux-kanagawa'
# set -g @plugin 'niksingh710/minimal-tmux-status'
# set -g @plugin 'o0th/tmux-nova'
set -g @plugin 'wfxr/tmux-power'
# set -g @plugin 'nordtheme/tmux'
set -g status-position top
# ======================================
# THEMES
# ======================================
# dracula customizations
# set -g @dracula-plugins "git cpu-usage ram-usage" # weather time cpu-usage gpu-usage ram-usage
# set -g @dracula-git-disable-status false # Hide details of git changes
# set -g @dracula-show-powerline true
# set -g @dracula-show-fahrenheit false
# set -g @dracula-show-left-icon session
# set -g @dracula-military-time true
# catppuccin customizations
# set -g @catppuccin_flavour 'mocha' # latte,frappe, macchiato or mocha
# set -g @catppuccin_status_background "default" # set background to transparent
# kanagawa customizations
# set -g @kanagawa-status-background "default"
# set -g @kanagawa-show-powerline true
# set -g @kanagawa-show-flags true
# set -g @kanagawa-theme 'wave' # options = 'wave', 'lotus'(default), 'dragon'
# If you want to preserve your emulator background / foreground for window
# set -g @kanagawa-ignore-window-colors true
# it can accept `hostname` (full hostname), `session`, `shortname` (short name), `smiley`, `window`, or any character.
# set -g @kanagawa-show-left-icon hostname
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, tmux-ram-usage, network, network-bandwidth, network-ping, ssh-session, attached-clients, network-vpn, weather, time, mpc, spotify-tui, playerctl, kubernetes-context, synchronize-panes
# set -g @kanagawa-plugins "git time ram-usage"
# set -g @kanagawa-plugins "git ram-usage"
# set -g @kanagawa-plugins "git network-bandwidth time ram-usage"
# tmux-nova customizations
# set -g @nova-nerdfonts true
# set -g @nova-nerdfonts-left
# set -g @nova-nerdfonts-right
# #
# set -g @nova-segment-mode "#{?client_prefix,Ω,ω}"
# set -g @nova-segment-mode-colors "#73f990 282a36"
# #
# set -g @nova-segment-whoami "#(whoami)@#h"
# set -g @nova-segment-whoami-colors "#73f990 #282a36"
# #
# set -g @nova-pane "#I#{?pane_in_mode, #{pane_mode},} #W"
# #
# set -g @nova-rows 0
# set -g @nova-segments-0-left "mode"
# set -g @nova-segments-0-right "whoami"
# tmux-power customizations
set -g @tmux_power_theme 'violet'
set -g @tmux_power_date_icon ' '
set -g @tmux_power_time_icon ' '
set -g @tmux_power_user_icon ' '
set -g @tmux_power_session_icon ' '
# set -g @tmux_power_right_arrow_icon ' '
# set -g @tmux_power_left_arrow_icon ' '
set -g @tmux_power_right_arrow_icon ''
set -g @tmux_power_left_arrow_icon ''
# change date and time format
set -g @tmux_power_date_format '%F'
set -g @tmux_power_time_format '%I:%M %p'
set -g @tmux_power_prefix_highlight_pos 'R'
# tmux-nord customizations
# set -g @nord_tmux_no_patched_font "1"
# set -g @plugin 'wfxr/tmux-net-speed'
# set -g @tmux_power_show_web_reachable true
# set -g @tmux_power_upload_speed_icon ''
# set -g @tmux_power_download_speed_icon ''
# set -g @tmux_power_show_upload_speed true
# set -g @tmux_power_show_download_speed true
# minimal-tmux-status customizations
# set -g @minimal-tmux-fg "#000000"
# set -g @minimal-tmux-bg "#698DDA"
# set -g @minimal-tmux-justify "centre"
# set -g @minimal-tmux-indicator-str " tmux "
# set -g @minimal-tmux-indicator true
# set -g @minimal-tmux-status "top"
# initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'