updated the tmux config a bit, and made a custom, independent zsh
config.
This commit is contained in:
		
							parent
							
								
									2883f9499d
								
							
						
					
					
						commit
						d66419712f
					
				
					 7 changed files with 507 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -4,16 +4,33 @@
 | 
			
		|||
    bind-key M-a send-prefix
 | 
			
		||||
 | 
			
		||||
#split panes using | and - 
 | 
			
		||||
	unbind '|'
 | 
			
		||||
	unbind '-'
 | 
			
		||||
    bind | split-window -h
 | 
			
		||||
    bind - split-window -v
 | 
			
		||||
    unbind '"'
 | 
			
		||||
    unbind %
 | 
			
		||||
 | 
			
		||||
#switch panes using alt-hjkl
 | 
			
		||||
    bind -n M-h select-pane -L
 | 
			
		||||
    bind -n M-l select-pane -R
 | 
			
		||||
    bind -n M-k select-pane -U
 | 
			
		||||
    bind -n M-j select-pane -D
 | 
			
		||||
	bind -n M-h select-pane -L
 | 
			
		||||
	bind -n M-l select-pane -R
 | 
			
		||||
	bind -n M-k select-pane -U
 | 
			
		||||
	bind -n M-j select-pane -D
 | 
			
		||||
 | 
			
		||||
#or with the prefix and hjkl
 | 
			
		||||
	bind h select-pane -L
 | 
			
		||||
	bind l select-pane -R
 | 
			
		||||
	bind k select-pane -U
 | 
			
		||||
	bind j select-pane -D
 | 
			
		||||
 | 
			
		||||
#resize panes with HJKL
 | 
			
		||||
	bind -r H resize-pane -L 5
 | 
			
		||||
	bind -r J resize-pane -D 5
 | 
			
		||||
	bind -r K resize-pane -U 5
 | 
			
		||||
	bind -r L resize-pane -R 5
 | 
			
		||||
 | 
			
		||||
#dont rename windows automatically
 | 
			
		||||
set-option -g allow-rename off
 | 
			
		||||
	set-option -g allow-rename off
 | 
			
		||||
 | 
			
		||||
#fix annoying escape behavior
 | 
			
		||||
	set -sg escape-time 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue