added vim-like hotkeys to switch between windows
This commit is contained in:
		
							parent
							
								
									8845a30715
								
							
						
					
					
						commit
						21d613bc8b
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -18,6 +18,8 @@ bind m set-option -g mode-mouse on\; set-option -g mouse-select-pane on\; set-op
 | 
				
			||||||
bind M set-option -g mode-mouse off\; set-option -g mouse-select-pane off\; set-option -g mouse-select-window off\; set-option -g mouse-resize-pane off\; display-message "mouse mode OFF"
 | 
					bind M set-option -g mode-mouse off\; set-option -g mouse-select-pane off\; set-option -g mouse-select-window off\; set-option -g mouse-resize-pane off\; display-message "mouse mode OFF"
 | 
				
			||||||
bind -n M-w next-window
 | 
					bind -n M-w next-window
 | 
				
			||||||
bind -n M-q previous-window
 | 
					bind -n M-q previous-window
 | 
				
			||||||
 | 
					bind -n M-j next-window
 | 
				
			||||||
 | 
					bind -n M-k previous-window
 | 
				
			||||||
bind -n M-` last-window
 | 
					bind -n M-` last-window
 | 
				
			||||||
bind -n S-Pageup copy-mode -u
 | 
					bind -n S-Pageup copy-mode -u
 | 
				
			||||||
setw -g mode-keys vi
 | 
					setw -g mode-keys vi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue