Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. set -g default-terminal "screen-256color"
  2.  
  3. # keybindings
  4. set-window-option -g mode-keys vi
  5. bind-key -T copy-mode-vi 'v' send -X begin-selection
  6. bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
  7.  
  8. unbind C-b
  9. set-option -g prefix `
  10. bind-key ` send-prefix
  11.  
  12. bind r source-file ~/.tmux.conf
  13.  
  14. bind | split-window -h
  15. bind - split-window -v
  16.  
  17. bind -n M-Left select-pane -L
  18. bind -n M-Right select-pane -R
  19. bind -n M-Up select-pane -U
  20. bind -n M-Down select-pane -D
  21.  
  22. bind l select-pane -R
  23. bind h select-pane -L
  24.  
  25. # plugins
  26. set -g @plugin 'tmux-plugins/tpm'
  27. set -g @plugin 'tmux-plugins/tmux-sensible'
  28. set -g @plugin 'tmux-plugins/tmux-resurrect'
  29. set -g @plugin 'tmux-plugins/tmux-continuum'
  30.  
  31. # auto restore sessions
  32. set -g @continuum-restore 'on'
  33.  
  34. # NOTE: keep at the bottom of the file
  35. # init tmux plugin manager
  36. run -b '~/.tmux/plugins/tpm/tpm'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement