Updated tmux config
This commit is contained in:
		
							
								
								
									
										17
									
								
								tmux.conf
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								tmux.conf
									
									
									
									
									
								
							@@ -1,9 +1,26 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					# map H and V to horizontal and vertical splits
 | 
				
			||||||
bind-key V split-window -h
 | 
					bind-key V split-window -h
 | 
				
			||||||
bind-key H split-window -v
 | 
					bind-key H split-window -v
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# map r to forcae a reload of the config file
 | 
				
			||||||
 | 
					unbind r
 | 
				
			||||||
bind r source-file ~/.tmux.conf \; display "Reloading Config"
 | 
					bind r source-file ~/.tmux.conf \; display "Reloading Config"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# set base windows index to 1
 | 
				
			||||||
set -g base-index 1
 | 
					set -g base-index 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# set screen options
 | 
				
			||||||
set-option -sg escape-time 10
 | 
					set-option -sg escape-time 10
 | 
				
			||||||
set-option -g default-terminal "screen-256color"
 | 
					set-option -g default-terminal "screen-256color"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# map Ctrl + a to prefix and unbind Ctrl + b
 | 
				
			||||||
 | 
					set -g prefix C-a
 | 
				
			||||||
 | 
					unbind C-b
 | 
				
			||||||
 | 
					bind C-a send-prefix
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# quick pane cycling
 | 
				
			||||||
 | 
					unbind ^A
 | 
				
			||||||
 | 
					bind ^A select-pane -t :.+
 | 
				
			||||||
 | 
					
 | 
				
			||||||
source "/usr/share/tmux/powerline.conf"
 | 
					source "/usr/share/tmux/powerline.conf"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user