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.
 
 
 
 
 
 

43 rivejä
1.3 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. set-environment -u SHLVL
  21. # try to set title of terminal tmux is running on
  22. # set -g set-titles off
  23. set -g display-panes-time 5000
  24. set -g window-status-current-format "#I|#W:#T#F"
  25. set -g window-status-format "#I|#W:#T#F"
  26. # set window name automatically from command currently running
  27. set -g automatic-rename on
  28. # disable updating status-left and status-right
  29. set -g status-interval 0
  30. set -g status-keys emacs
  31. set -g message-bg white
  32. set -g message-fg black
  33. setw -g window-status-current-bg white
  34. setw -g window-status-current-fg black
  35. setw -g window-status-attr bold