Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. # remap prefix from 'C-b' to 'C-a'
  2. unbind C-b
  3. set-option -g prefix C-a
  4. bind-key C-a send-prefix
  5.  
  6. # split panes using | and -
  7. bind \ split-window -h
  8. bind - split-window -v
  9. unbind '"'
  10. unbind %
  11.  
  12. # Enable mouse mode (tmux 2.1 and above)
  13. set -g mouse on
  14.  
  15. # panes look
  16. set -g pane-border-style 'fg=colour19 bg=colour0'
  17. set -g pane-active-border-style 'bg=colour0 fg=colour9'
  18. set -g status-style 'bg=colour33 fg=colour0 dim'
  19.  
  20. # Do not copy selection and cancel copy mode on drag end event
  21. # Prefer iTerm style selection: select, then mouse click to copy to buffer
  22. unbind -T copy-mode-vi MouseDragEnd1Pane
  23. bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement