| 
									
										
										
										
											2025-06-05 22:25:25 -07:00
										 |  |  | # Allow cursor passthrough | 
					
						
							|  |  |  | set -g allow-passthrough on | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-15 22:51:38 -07:00
										 |  |  | # Custom Prefix | 
					
						
							|  |  |  | set -g prefix C-space | 
					
						
							| 
									
										
										
										
											2025-03-06 20:36:24 -08:00
										 |  |  | bind-key C-space send-prefix | 
					
						
							| 
									
										
										
										
											2024-06-15 22:51:38 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-10 22:18:52 -07:00
										 |  |  | # Shortcut to custom hints | 
					
						
							| 
									
										
										
										
											2025-06-01 17:06:11 -07:00
										 |  |  | bind h run-shell "tmux popup -xC -yC -w50% -h75% 'cat ~/.config/tmux/hints'" | 
					
						
							| 
									
										
										
										
											2024-10-10 22:18:52 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-15 22:51:38 -07:00
										 |  |  | # Shortcut to sync panes | 
					
						
							|  |  |  | bind C-x setw synchronize-panes | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Shortcut to respawn panw | 
					
						
							|  |  |  | bind M-r respawn-pane -k | 
					
						
							| 
									
										
										
										
											2024-06-14 06:03:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Mouse Scrolling | 
					
						
							|  |  |  | set -g mouse on | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Mouse Copy | 
					
						
							| 
									
										
										
										
											2024-06-28 22:59:52 -07:00
										 |  |  | bind-key -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-no-clear "xclip"\; display "Copied" | 
					
						
							|  |  |  | bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-no-clear "xclip"\; display "Copied" | 
					
						
							| 
									
										
										
										
											2024-06-14 06:03:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Split | 
					
						
							| 
									
										
										
										
											2025-06-13 08:56:02 -07:00
										 |  |  | bind S-down split-window -v -c "#{pane_current_path}" | 
					
						
							|  |  |  | bind S-right split-window -h -c "#{pane_current_path}" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-06-21 13:42:43 -07:00
										 |  |  | bind J split-window -v -c "#{pane_current_path}" | 
					
						
							|  |  |  | bind L split-window -h -c "#{pane_current_path}" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-06-13 08:56:02 -07:00
										 |  |  | # Override new window | 
					
						
							|  |  |  | bind c new-window -c "~/" | 
					
						
							| 
									
										
										
										
											2024-06-14 06:03:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Navigation | 
					
						
							|  |  |  | bind -n C-Left select-pane -L | 
					
						
							|  |  |  | bind -n C-Right select-pane -R | 
					
						
							|  |  |  | bind -n C-Up select-pane -U | 
					
						
							|  |  |  | bind -n C-Down select-pane -D | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-06-21 13:42:43 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-11 09:44:14 -07:00
										 |  |  | bind -n M-h select-pane -L | 
					
						
							|  |  |  | bind -n M-j select-pane -D | 
					
						
							|  |  |  | bind -n M-k select-pane -U | 
					
						
							|  |  |  | bind -n M-l select-pane -R | 
					
						
							| 
									
										
										
										
											2025-06-21 13:42:43 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-14 06:03:12 +00:00
										 |  |  | bind -n C-S-Left previous-window | 
					
						
							|  |  |  | bind -n C-S-Right next-window | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-06-21 13:42:43 -07:00
										 |  |  | bind -n M-H previous-window | 
					
						
							|  |  |  | bind -n M-L next-window | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-14 06:03:12 +00:00
										 |  |  | # Config | 
					
						
							| 
									
										
										
										
											2025-06-01 17:06:11 -07:00
										 |  |  | bind R source-file ~/.config/tmux/tmux.conf \; display "Config reloaded!" | 
					
						
							| 
									
										
										
										
											2024-06-14 06:03:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Colors | 
					
						
							|  |  |  | set -g default-terminal "screen-256color" | 
					
						
							|  |  |  | set -g pane-border-style fg='#008b8b' | 
					
						
							|  |  |  | set -g pane-active-border-style fg='#34E2E2' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set -g message-style bg='#222222',fg='#34E2E2' | 
					
						
							|  |  |  | set -g status-style bg='#222222',fg='#AD7FA8' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Status | 
					
						
							|  |  |  | set -g status-left '#{?client_prefix,#[fg=#008b8b]█, }' | 
					
						
							| 
									
										
										
										
											2025-05-20 19:23:08 -07:00
										 |  |  | set -g status-right '#[fg=#ad7fa8]| #S | #(hostname -I | cut -d" " -f1) | %Y-%m-%d %H:%M ' | 
					
						
							|  |  |  | set -g status-right-length 50 | 
					
						
							| 
									
										
										
										
											2024-06-14 06:03:12 +00:00
										 |  |  | set -g status-interval 1 | 
					
						
							|  |  |  | set-window-option -g window-status-style fg='#008b8b',bg=default | 
					
						
							|  |  |  | set-window-option -g window-status-current-style fg='#222222',bg='#ad7fa8' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-10 20:55:16 -07:00
										 |  |  | # Persist Between Reboots | 
					
						
							|  |  |  | set -g @plugin 'tmux-plugins/tmux-resurrect' | 
					
						
							|  |  |  | set -g @plugin 'tmux-plugins/tmux-continuum' | 
					
						
							|  |  |  | set -g @continuum-restore 'on' | 
					
						
							|  |  |  | set -g @continuum-boot 'on' | 
					
						
							| 
									
										
										
										
											2025-06-04 21:32:41 -07:00
										 |  |  | set -g @continuum-save-interval '10'  # Save every n minutes | 
					
						
							|  |  |  | set -g @resurrect-capture-pane-contents 'on' | 
					
						
							|  |  |  | set -g @resurrect-processes '"~autossh->autossh *" ssh nano k9s nvim' | 
					
						
							| 
									
										
										
										
											2024-10-10 20:55:16 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-10 21:25:26 -07:00
										 |  |  | # Open Links | 
					
						
							|  |  |  | set -g @plugin 'tmux-plugins/tmux-open' | 
					
						
							|  |  |  | set -g @open-S 'https://search.brave.com/search?q=' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-05-16 17:52:32 -07:00
										 |  |  | # Integrate with nvim navigation | 
					
						
							|  |  |  | set -g @plugin 'christoomey/vim-tmux-navigator' | 
					
						
							| 
									
										
										
										
											2025-07-11 09:44:14 -07:00
										 |  |  | set -g @vim_navigator_mapping_left "M-h"  #C-Left" # C-h" | 
					
						
							|  |  |  | set -g @vim_navigator_mapping_right "M-l"  #C-Right" # C-l" | 
					
						
							|  |  |  | set -g @vim_navigator_mapping_up "M-k"  #C-Up" # C-k" | 
					
						
							|  |  |  | set -g @vim_navigator_mapping_down "M-j"  #C-Down" # C-j" | 
					
						
							| 
									
										
										
										
											2025-05-16 17:52:32 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-14 06:03:12 +00:00
										 |  |  | # Load Plugins | 
					
						
							| 
									
										
										
										
											2024-10-10 20:55:16 -07:00
										 |  |  | run '~/.tmux/plugins/tpm/tpm' |