my localhost configuration
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.

tmux.conf 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. unbind C-b
  2. bind C-g send-prefix
  3. bind v split-window -h
  4. bind s split-window -v
  5. bind h select-pane -L
  6. bind j select-pane -D
  7. bind k select-pane -U
  8. bind l select-pane -R
  9. bind r display "resize" \; switch-client -T resize
  10. bind -T resize -r h resize-pane -L 5
  11. bind -T resize -r j resize-pane -D 5
  12. bind -T resize -r k resize-pane -U 5
  13. bind -T resize -r l resize-pane -R 5
  14. bind p command-prompt -p "ssh:" "new-session -As 'ssh'; new-window -n '%1' 'termcompat ssh %%'"
  15. bind t command-prompt -p "attach pane to:" "join-pane -t '%%'"
  16. bind y command-prompt break-pane
  17. bind -n M-w next-window
  18. bind -n M-q previous-window
  19. set -g prefix C-g
  20. set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
  21. set -g mode-keys "vi"
  22. set -g set-titles "on"
  23. set -g set-titles-string "[#h:#S] #W"
  24. set -g escape-time "0"
  25. set -g history-limit "10000"
  26. set -g default-terminal "tmux-256color"
  27. set -g message-style "bg=colour11,fg=colour15"
  28. set -g message-command-style "bg=colour1,fg=colour15"
  29. set -g pane-border-status "off"
  30. set -g pane-border-style "fg=colour11"
  31. set -g pane-active-border-style "fg=colour4"
  32. set -g status on
  33. set -g status-style "bg=colour7,fg=colour11"
  34. set -g status-format[0] "#[fg=colour15,bg=colour4] #h #[fg=colour15,bg=colour14] #S #[default]#{W: #I:#W ,#[reverse] #I:#W #[default]}#[align=right]#[fg=colour15,bg=colour14] %a %e #[fg=colour7,bg=colour11] %k:%M "
  35. set -g status-interval 2
  36. set -g status-position "bottom"
  37. set -g status-justify "left"
  38. set -g status-left-length "100"
  39. set -g status-right-length "100"
  40. set -g automatic-rename on
  41. set -g automatic-rename-format "#T"