/
/
/
1bind -n M-h select-pane -L
2bind -n M-l select-pane -R
3bind -n M-k select-pane -U
4bind -n M-j select-pane -D
5
6bind -n M-i next-window
7bind -n M-o previous-window
8
9bind r command-prompt "rename-window %%"
10# set -g automatic-rename-format "#{b:pane_current_path}"
11set -g automatic-rename-format "#{?pane_current_command,#{pane_current_command},#{b:pane_current_path}}"
12
13set -g default-command $SHELL
14
15set -g base-index 1 # start indexing windows at 1 instead of 0
16set -g renumber-windows on # renumber all windows when any window is closed
17set -g status-position top # macOS / darwin style
18
19bind m split-window -h \; split-window -v \; select-pane -L \; split-window -v \; select-pane -U
20
21set -g history-file ~/.tmux_history
22
23set -g status-interval 2
24
25# bind m run "cut -c3- '#{TMUX_CONF}' | sh -s _toggle_mouse"
26
27set -g history-limit 5000
28
29# bind -n M-x setw synchronize-panes on
30# bind -n M-c setw synchronize-panes off
31bind-key X set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized,on,off}"
32
33set-environment -g PATH "/usr/local/bin:/bin:/usr/bin"
34
35set -g @plugin 'tmux-plugins/tpm'
36
37#set inactive/active window styles
38set -g window-style 'fg=colour250,bg=colour234'
39set -g window-active-style 'fg=colour250,bg=black'
40
41set -g @plugin 'tmux-plugins/tmux-pain-control'
42set -g @plugin 'tmux-plugins/tmux-sensible'
43set -g @plugin 'tmux-plugins/tmux-logging'
44set -g @plugin 'omerxx/tmux-sessionx'
45
46set -g @plugin 'catppuccin/tmux'
47# set -g @plugin 'dreknix/tmux-primary-ip'
48set -g @plugin 'yschulz/tmux-primary-ip#feature/support-vpn'
49
50set -g @catppuccin_window_current_text "#W#{?window_zoomed_flag,(î®),}"
51set -g @catppuccin_window_status_style "rounded"
52
53set-environment -gF TMUX_PLUGIN_MANAGER_PATH '#{HOME}/.tmux/plugins'
54run '#{TMUX_PLUGIN_MANAGER_PATH}/tmux/catppuccin.tmux'
55source -F '#{d:current_file}/custom_modules/primary_ip.conf'
56
57# Make the status line pretty and add some modules
58set -g status-right-length 100
59set -g status-left-length 100
60set -g status-left ""
61set -g status-right "#{E:@catppuccin_status_application}"
62set -ag status-right "#{E:@catppuccin_status_session}"
63set -ag status-right "#{E:@catppuccin_status_host}"
64set -agF status-right "#{E:@catppuccin_status_primary_ip}"
65
66
67# set -g @plugin 'nhdaly/tmux-better-mouse-mode'
68
69run '~/.tmux/plugins/tpm/tpm'
70
71set -g mouse off
72
73
74