Advertisement
Guest User

.tmux.conf

a guest
Jul 3rd, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. # remap prefix from 'C-b' to 'C-a'
  2. unbind C-b
  3. set-option -g prefix C-a
  4. bind-key C-a send-prefix
  5.  
  6. # split panes using | and -
  7. bind | split-window -h
  8. bind - split-window -v
  9. unbind '"'
  10. unbind %
  11.  
  12. # reload config file (change file location to your the tmux.conf you want to use)
  13. bind r source-file ~/.tmux.conf
  14.  
  15. # switch panes using Alt-arrow without prefix
  16. bind -n M-Left select-pane -L
  17. bind -n M-Right select-pane -R
  18. bind -n M-Up select-pane -U
  19. bind -n M-Down select-pane -D
  20.  
  21. # Enable mouse mode (tmux 2.1 and above)
  22. set -g mouse on
  23.  
  24. set -g base-index 1
  25.  
  26. set -s escape-time 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement