-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_tmux.conf
61 lines (53 loc) · 2.25 KB
/
dot_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
unbind r
bind r source-file ~/.tmux.conf
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
set -g @plugin 'catppuccin/tmux#latest'
set -g @catppuccin_flavor 'macchiato' # latte, frappe, macchiato, mocha
set -g @catppuccin_window_status_style "rounded"
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g default-terminal "$TERM"
set -ag terminal-overrides ",$TERM:Tc"
set-option -g status-position top
set-option -g default-command "env /usr/bin/arch -arm64 /bin/zsh --login"
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -agF status-right "#{E:@catppuccin_status_cpu}"
set -ag status-right "#[bg=#{@thm_flamingo},fg=#{@thm_crust}]#[reverse]#[noreverse] "
set -agF status-right "#[fg=#{@thm_fg},bg=#{@thm_surface_0}] #(memory_pressure | awk '/percentage/{print $5}')% "
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
set -agF status-right "#{E:@catppuccin_status_battery}"
set -g mouse on
# Copy Mode
setw -g mode-keys vi
# Set new panes to open in current directory
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# display of active window
set -g window-status-current-format '#{window_index} #{b:pane_current_path}*'
# display of all other windows
set -g window-status-format '#{window_index} #{b:pane_current_path}'
# make sure to update the window title every 5 seconds
set -g status-interval 5
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# run '~/.tmux/plugins/tpm/tpm'
run '$HOMEBREW_PREFIX/opt/tpm/share/tpm/tpm'