Guest User

Untitled

a guest
Apr 20th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. set -g prefix C-a
  2. unbind-key C-b
  3. bind-key C-a send-prefix
  4.  
  5. # Start windows and panes at 1, not 0
  6. set -g base-index 1
  7. setw -g pane-base-index 1
  8. setw -g mode-keys vi
  9.  
  10. # Shift arrow to switch windows
  11. bind -n S-Left previous-window
  12. bind -n S-Right next-window
  13.  
  14. # Use Alt-vim keys without prefix key to switch panes
  15. bind -n M-h select-pane -L
  16. bind -n M-j select-pane -D
  17. bind -n M-k select-pane -U
  18. bind -n M-l select-pane -R
  19.  
  20. # Use Alt-arrow keys without prefix key to switch panes
  21. bind -n M-Left select-pane -L
  22. bind -n M-Right select-pane -R
  23. bind -n M-Up select-pane -U
  24. bind -n M-Down select-pane -D
Add Comment
Please, Sign In to add comment