Last active
          October 31, 2015 19:49 
        
      - 
      
- 
        Save terryjbates/2540083f620157d2eb19 to your computer and use it in GitHub Desktop. 
    tmux.conf config to be shared from the PragPub book
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Change the Prefix key to Ctrl-a and not Ctrl-b | |
| set -g prefix C-a | |
| unbind C-b | |
| # Change default delay | |
| set -s escape-time 1 | |
| # Set pane and reference window indexing to 1 | |
| set -g base-index 1 | |
| setw -g pane-base-index 1 | |
| # Set shortcut to reload configuration | |
| bind r source-file ~/.tmux.conf \; display "Reloaded tmux.conf!" | |
| # Explicitly send literal Ctrl-A to apps by typing twice | |
| bind C-a send-prefix | |
| bind | split-window -h | |
| bind - split-window -v | |
| set -g default-command "reattach-to-user-namespace -l /bin/bash" | |
| bind H resize-pane -L 5 | |
| bind J resize-pane -D 5 | |
| bind K resize-pane -U 5 | |
| bind L resize-pane -R 5 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment