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.

преди 9 години
преди 6 години
преди 6 години
преди 10 години
преди 10 години
преди 9 години
преди 9 години
преди 6 години
преди 10 години
преди 10 години
преди 9 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # tmux.conf
  2. # SETUP_LOAD: source "DOTFILES_DIR/tmux.conf"
  3. run-shell 'tmux set -g status-right "${USER}@`hostname` | `tmux -V`_"'
  4. run-shell 'tmux set -g status-bg "$_HOSTCOLOR_1" >/dev/null'
  5. run-shell 'tmux set -g status-fg "$_HOSTCOLOR_2" >/dev/null'
  6. run-shell 'tmux set -g mode-bg "$_HOSTCOLOR_1" >/dev/null'
  7. run-shell 'tmux set -g mode-fg "$_HOSTCOLOR_2" >/dev/null'
  8. run-shell 'tmux set -g pane-active-border-fg "$_HOSTCOLOR_1" >/dev/null'
  9. unbind C-b
  10. set -g prefix C-z
  11. bind C-z send-prefix
  12. bind C-c command-prompt "new-window '%%'"
  13. bind C-r source-file ~/.tmux.conf \; display-message "Reloaded config !"
  14. # new-session: -A: "behaves like attach-session if session-name already exists"
  15. # -d: do not attach the created session
  16. bind C-o command-prompt -p "session name to switch to:" \
  17. "new-session -Ad -s '%1'\; switch-client -t '%1'"
  18. set -g base-index 1
  19. set -g pane-base-index 1
  20. set -g renumber-windows off
  21. setw -g mode-keys vi
  22. #setw -g mode-mouse off
  23. #set -g default-command /bin/bash
  24. # Use pasteboard on MacOS
  25. run-shell 'test "`uname`" = Darwin && tmux bind-key -T copy-mode-vi "Enter" send-keys -X copy-pipe-and-cancel "pbcopy"'
  26. run-shell 'test "`uname`" = Darwin && tmux bind-key "]" run "pbpaste | tmux load-buffer - && tmux paste-buffer"'
  27. #set -g default-path "$HOME"
  28. # try to set title of terminal tmux is running on
  29. # set -g set-titles off
  30. set -g display-panes-time 5000
  31. # <Index>|<Command>:<Title><Window flag>
  32. # Example: `1|emacs:.dotfiles*`
  33. set -g window-status-current-format "#I|#{pane_current_command}:#T#F"
  34. set -g window-status-format "#I|#{pane_current_command}:#T#F"
  35. # set window name automatically from command currently running
  36. set -g automatic-rename on
  37. # disable updating status-left and status-right
  38. set -g status-interval 0
  39. set -g status-keys emacs
  40. set -g message-bg white
  41. set -g message-fg black
  42. setw -g window-status-current-bg white
  43. setw -g window-status-current-fg black
  44. #setw -g window-status-attr bold