SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Blessed C-a instead of C-b
  2. unbind C-b
  3. set -g prefix C-a
  4. bind C-a send-prefix
  5.  
  6. # vim-like pane resizing  
  7. bind -r C-k resize-pane -U
  8. bind -r C-j resize-pane -D
  9. bind -r C-h resize-pane -L
  10. bind -r C-l resize-pane -R
  11.  
  12. # vim-like pane switching
  13. bind -r k select-pane -U
  14. bind -r j select-pane -D
  15. bind -r h select-pane -L
  16. bind -r l select-pane -R
  17.  
  18. # and now unbind keys
  19. unbind Up    
  20. unbind Down  
  21. unbind Left  
  22. unbind Right  
  23.  
  24. unbind C-Up  
  25. unbind C-Down
  26. unbind C-Left
  27. unbind C-Right
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top