buffergator hotkey for vim + C-Space switch for tmux
This commit is contained in:
		
							parent
							
								
									194955ab3d
								
							
						
					
					
						commit
						c883b0747d
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,7 @@
 | 
			
		|||
# vim: ft=tmux
 | 
			
		||||
unbind C-b
 | 
			
		||||
set -g prefix C-Space
 | 
			
		||||
bind C-Space send-prefix
 | 
			
		||||
bind r source-file /home/von/.tmux.conf\; display-message "Config reloaded."
 | 
			
		||||
bind s split-window -v
 | 
			
		||||
bind v split-window -h
 | 
			
		||||
| 
						 | 
				
			
			@ -13,7 +16,6 @@ bind + resize-pane -U 5
 | 
			
		|||
bind e choose-session
 | 
			
		||||
bind m set-option -g mode-mouse on\; set-option -g mouse-select-pane on\; set-option -g mouse-select-window on\; set-option -g mouse-resize-pane on\; display-message "mouse mode ON"
 | 
			
		||||
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 C-a display-message "Powered by tmux!"
 | 
			
		||||
bind -n M-w next-window
 | 
			
		||||
bind -n M-q previous-window
 | 
			
		||||
bind -n M-` last-window
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3
									
								
								vimrc
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								vimrc
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -107,6 +107,9 @@ if v:version >= 703
 | 
			
		|||
		" nerdtree options
 | 
			
		||||
		let NERDTreeDirArrows=0
 | 
			
		||||
		map <C-W>. :NERDTreeToggle<cr>
 | 
			
		||||
 | 
			
		||||
		" buffergator options
 | 
			
		||||
		map <C-W>, :BuffergatorToggle<cr>
 | 
			
		||||
	endif
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue