MAINT: minor tmux tweaks
This commit is contained in:
		
							parent
							
								
									fb7ce6b6a4
								
							
						
					
					
						commit
						6368c7f1a6
					
				
					 3 changed files with 0 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -14,7 +14,6 @@ $ ./install
 | 
			
		|||
$ curl https://nixos.org/nix/install | sh
 | 
			
		||||
$ source ~/.zshrc
 | 
			
		||||
$ nix-env -i \
 | 
			
		||||
  alacritty \
 | 
			
		||||
  docker \
 | 
			
		||||
  git \
 | 
			
		||||
  htop \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,25 +1,17 @@
 | 
			
		|||
# Automatic window title
 | 
			
		||||
setw -g automatic-rename
 | 
			
		||||
 | 
			
		||||
set-option -g default-shell /bin/zsh
 | 
			
		||||
set -g default-command "reattach-to-user-namespace -l ${SHELL}"
 | 
			
		||||
 | 
			
		||||
# remap prefix to Control + a
 | 
			
		||||
set -g prefix C-a
 | 
			
		||||
unbind C-b
 | 
			
		||||
bind C-a last-window
 | 
			
		||||
 | 
			
		||||
set -g default-terminal "xterm-256color"
 | 
			
		||||
 | 
			
		||||
# http://www.unwiredcouch.com/2013/11/15/my-tmux-setup.html
 | 
			
		||||
# Force a reload of the config file
 | 
			
		||||
unbind r
 | 
			
		||||
bind r source-file ~/.tmux.conf
 | 
			
		||||
 | 
			
		||||
# Start window numbering at 1 for easier switching
 | 
			
		||||
set -g base-index 1
 | 
			
		||||
 | 
			
		||||
# Open new panes & splits in the same directory
 | 
			
		||||
bind c new-window -c "#{pane_current_path}"
 | 
			
		||||
bind % split-window -h -c "#{pane_current_path}"
 | 
			
		||||
bind '"' split-window -c "#{pane_current_path}"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -65,5 +65,3 @@ function back_things_up() {
 | 
			
		|||
    ln -s $dest_root/$date $dest_root/latest
 | 
			
		||||
    # TODO: once confident pruning is working well, add that in here
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 eval "$(gh completion -s zsh)"
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue