Update navigation to use M-hjkl and M-HJKL in nvim and tmux
This commit is contained in:
		
							parent
							
								
									9d92db6983
								
							
						
					
					
						commit
						96e7334928
					
				
					 3 changed files with 28 additions and 10 deletions
				
			
		|  | @ -38,10 +38,10 @@ 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 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 | ||||
| 
 | ||||
| bind -n C-S-Left previous-window | ||||
| bind -n C-S-Right next-window | ||||
|  | @ -83,10 +83,10 @@ set -g @open-S 'https://search.brave.com/search?q=' | |||
| 
 | ||||
| # Integrate with nvim navigation | ||||
| set -g @plugin 'christoomey/vim-tmux-navigator' | ||||
| set -g @vim_navigator_mapping_left "C-Left" # C-h" | ||||
| set -g @vim_navigator_mapping_right "C-Right" # C-l" | ||||
| set -g @vim_navigator_mapping_up "C-Up" # C-k" | ||||
| set -g @vim_navigator_mapping_down "C-Down" # C-j" | ||||
| 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" | ||||
| 
 | ||||
| # Load Plugins | ||||
| run '~/.tmux/plugins/tpm/tpm' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue