Add hjkl shortkeys for tmux commands bound to arrow keys
This commit is contained in:
		
							parent
							
								
									6e0b33b62d
								
							
						
					
					
						commit
						3d86bfef4d
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -25,6 +25,9 @@ bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-no-clear "xcli | |||
| bind S-down split-window -v -c "#{pane_current_path}" | ||||
| bind S-right split-window -h -c "#{pane_current_path}" | ||||
| 
 | ||||
| bind J split-window -v -c "#{pane_current_path}" | ||||
| bind L split-window -h -c "#{pane_current_path}" | ||||
| 
 | ||||
| # Override new window | ||||
| bind c new-window -c "~/" | ||||
| 
 | ||||
|  | @ -34,9 +37,18 @@ bind -n C-Right select-pane -R | |||
| bind -n C-Up select-pane -U | ||||
| bind -n C-Down select-pane -D | ||||
| 
 | ||||
| 
 | ||||
| bind -n C-H select-pane -L | ||||
| bind -n C-J select-pane -D | ||||
| bind -n C-K select-pane -U | ||||
| bind -n C-L select-pane -R | ||||
| 
 | ||||
| bind -n C-S-Left previous-window | ||||
| bind -n C-S-Right next-window | ||||
| 
 | ||||
| bind -n M-H previous-window | ||||
| bind -n M-L next-window | ||||
| 
 | ||||
| # Config | ||||
| bind R source-file ~/.config/tmux/tmux.conf \; display "Config reloaded!" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue