Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. setw -g mode-keys vi
  2. # remap prefix from 'C-b' to 'C-a'
  3. unbind C-b
  4. set-option -g prefix C-a
  5. bind-key C-a send-prefix
  6.  
  7. # split panes using | and -
  8. bind 3 split-window -h
  9. bind 2 split-window -v
  10. unbind '"'
  11. unbind %
  12. # Enable mouse mode (tmux 2.1 and above)
  13. set -g mouse on
  14.  
  15.  
  16. # switch panes using Alt-arrow without prefix
  17. bind -n M-S-Left select-pane -L
  18. bind -n M-S-Right select-pane -R
  19. bind -n M-S-Up select-pane -U
  20. bind -n M-S-Down select-pane -D
  21. # enter copy mode
  22. bind v copy-mode
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement