Advertisement
Guest User

tmux.conf

a guest
Jan 20th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. # Enable mouse scrolling
  2. set -g mouse on
  3.  
  4. # tmux copy buffer binded to clipboard
  5. #bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
  6.  
  7. bind -n C-x setw synchronize-panes
  8.  
  9. # Adding prefix highlight to status bar
  10. set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M'
  11.  
  12. # remap prefix from 'C-b' to 'C-a'
  13. unbind C-b
  14. set-option -g prefix C-a
  15. bind-key C-a send-prefix
  16.  
  17. # URL view key
  18. set -g @urlview-key '\'
  19.  
  20. ### List of plugins
  21. # TMUX plugin manager
  22. set -g @plugin 'tmux-plugins/tpm'
  23. # Basic tmux options
  24. set -g @plugin 'tmux-plugins/tmux-sensible'
  25. # URL View
  26. set -g @plugin 'tmux-plugins/tmux-urlview'
  27. # TMUX prefix highlight
  28. set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
  29. # TMUX persistent session
  30. set -g @plugin 'tmux-plugins/tmux-resurrect'
  31. # copy to clipboard
  32. set -g @plugin 'tmux-plugins/tmux-yank'
  33.  
  34. # Other examples:
  35. # set -g @plugin 'github_username/plugin_name'
  36. # set -g @plugin 'git@github.com/user/plugin'
  37. # set -g @plugin 'git@bitbucket.com/user/plugin'
  38.  
  39. # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
  40. run -b '~/.tmux/plugins/tpm/tpm'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement