Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2 KiB

  1. # set window notifications - disabled for the moment because pretty annoying
  2. # in practice. could be i'm doing something wrong that makes it trigger too
  3. # often:
  4. #
  5. # setw -g monitor-activity on
  6. # set -g visual-activity on
  7. # set -g status-bg blue
  8. # set -g status-fg white
  9. # deal with Esc timing weirdness in vim:
  10. set -s escape-time 0
  11. # get 256 colors, hopefully:
  12. set -g default-terminal "screen-256color"
  13. # per advice in neovim :checkhealth -
  14. # ## tmux
  15. # - OK: escape-time: 0ms
  16. # - INFO: $TERM: screen-256color
  17. # - WARNING: Neither Tc nor RGB capability set. True colors are disabled. |'termguicolors'| won't work properly.
  18. # - ADVICE:
  19. # - Put this in your ~/.tmux.conf and replace XXX by your $TERM outside of tmux:
  20. # set-option -sa terminal-overrides ',XXX:RGB'
  21. # - For older tmux versions use this instead:
  22. # set-option -ga terminal-overrides ',XXX:Tc'
  23. # set-option -sa terminal-overrides ',XXX:RGB'
  24. set-option -ga terminal-overrides ",xterm-256color:Tc"
  25. # Vi copy and paste in tmux
  26. # http://joncairns.com/2013/06/copying-between-tmux-buffers-and-the-system-clipboard/
  27. # by way of thcipriani
  28. bind-key Escape copy-mode
  29. bind-key -T copy-mode-vi 'v' send -X begin-selection
  30. bind-key -T copy-mode-vi 'y' send -X copy-selection