Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. # set -g default-terminal "xterm"
  2. # set-option -ga terminal-overrides ",xterm:Tc"
  3. set -g default-terminal "xterm-256color"
  4. set -ga terminal-overrides ",*256col*:Tc"
  5.  
  6. set -g prefix C-x
  7. unbind-key C-x
  8. bind-key C-2 send-prefix
  9.  
  10. bind \ split-window -h -c '#{pane_current_path}'
  11. bind / split-window -v -c '#{pane_current_path}'
  12.  
  13. # move around panes with j and k, a bit like vim
  14. bind h select-pane -L
  15. bind j select-pane -D
  16. bind k select-pane -U
  17. bind l select-pane -R
  18.  
  19. bind r source-file ${HOME}/.tmux.conf \; display-message "Config reloaded"
  20.  
  21. set -g -q mouse on
  22. bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'"
  23.  
  24. setw -g mode-keys vi
  25. bind-key -T copy-mode-vi 'v' send -X begin-selection
  26. bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
  27. bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
  28. set -g escape-time 0
  29.  
  30. set -g status-interval 60
  31. set -g status-right-length 200
  32. set -g status-left-length 200
  33. set -g status-right ''
  34. set -g status-left '#[fg=white] %H:%M #[fg=brightblack]%m-%d-%Y '
  35. set -g pane-border-style fg=brightblack
  36. set -g pane-active-border-style fg=brightblack
  37. set -g window-active-style bg=default
  38. set -g status-justify right
  39. set -g status-fg brightblack
  40. set -g status-bg default
  41. set -g window-status-current-format "#{?window_zoomed_flag,#[bg=colour4],#[bg=colour15,fg=colour0]} #W #{?window_zoomed_flag,#[bg=colour15],#[bg=colour5,fg=colour0]}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement