few adjustments to get the leader key and window splitting consistent
This commit is contained in:
		
							parent
							
								
									6436d43d70
								
							
						
					
					
						commit
						395a7693d7
					
				
							
								
								
									
										19
									
								
								tmux.conf
								
								
								
								
							
							
						
						
									
										19
									
								
								tmux.conf
								
								
								
								
							| 
						 | 
				
			
			@ -1,3 +1,21 @@
 | 
			
		|||
# Give ourselves a quick way to reload tmux config
 | 
			
		||||
unbind r
 | 
			
		||||
bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded ~/.config/tmux/tmux.conf"
 | 
			
		||||
 | 
			
		||||
# Rebind window splitting - match VIM
 | 
			
		||||
unbind v
 | 
			
		||||
unbind s
 | 
			
		||||
 | 
			
		||||
unbind % # split horizontal
 | 
			
		||||
unbind '"' # split vertical
 | 
			
		||||
 | 
			
		||||
bind v split-window -h -c "#{pane_current_path}"
 | 
			
		||||
bind s split-window -v -c "#{pane_current_path}"
 | 
			
		||||
 | 
			
		||||
# Set a leader more like the VIM one
 | 
			
		||||
unbind C-b
 | 
			
		||||
set -g prefix C-Space
 | 
			
		||||
 | 
			
		||||
# Act like vim
 | 
			
		||||
set -g mode-keys vi
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -22,5 +40,6 @@ set -g @dracula-show-flags true
 | 
			
		|||
set -g @dracula-show-left-icon session
 | 
			
		||||
set -g status-position top
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
 | 
			
		||||
run '~/.tmux/plugins/tpm/tpm'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue