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.
 
 
 
 
 
 

42 lines
1.2 KiB

  1. # tmux.conf
  2. if "test -f $HOME/.tmux.conf.local" "source-file $HOME/.tmux.conf.local" \
  3. "display-message \"$HOME/.tmux.conf.local not found\""
  4. unbind C-b
  5. set -g prefix C-z
  6. bind C-z send-prefix
  7. bind C-c command-prompt "new-window '%%'"
  8. bind C-r source-file ~/.tmux.conf \; display-message "Reloaded config !"
  9. # new-session: -A: "behaves like attach-session if session-name already exists"
  10. # -d: do not attach the created session
  11. bind C-s command-prompt -p "session name:" \
  12. "new-session -Ad -s '%1'\; switch-client -t '%1'"
  13. set -g base-index 1
  14. set -g pane-base-index 1
  15. set -g renumber-windows on
  16. setw -g mode-keys vi
  17. setw -g mode-mouse off
  18. #set -g default-command /bin/bash
  19. #set -g default-path "$HOME"
  20. # try to set title of terminal tmux is running on
  21. # set -g set-titles off
  22. set -g display-panes-time 5000
  23. set -g window-status-current-format "#I|#W:#T#F"
  24. set -g window-status-format "#I|#W:#T#F"
  25. # set window name automatically from command currently running
  26. set -g automatic-rename on
  27. # disable updating status-left and status-right
  28. set -g status-interval 0
  29. set -g status-keys emacs
  30. set -g message-bg white
  31. set -g message-fg black
  32. setw -g window-status-current-bg white
  33. setw -g window-status-current-fg black
  34. setw -g window-status-attr bold