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.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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' 'TERM=screen.xterm-new 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. bind -n M-` last-window
  20. bind -n M-Escape last-window
  21. set -g prefix C-g
  22. set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
  23. set -g mode-keys "vi"
  24. set -g set-titles "on"
  25. set -g set-titles-string "[#h:#S] #W"
  26. set -g escape-time "0"
  27. set -g history-limit "10000"
  28. set -g default-terminal "tmux-256color"
  29. set -g status "on"
  30. set -g status-interval 2
  31. set -g status-position "bottom"
  32. set -g status-justify "left"
  33. set -g status-left-length "100"
  34. set -g status-right-length "100"
  35. set -g pane-border-status "off"
  36. set -g automatic-rename on
  37. set -g automatic-rename-format "#T"
  38. set -g pane-border-style "fg=colour249"
  39. set -g pane-active-border-style "fg=colour88"
  40. set -g status-style "bg=colour244"
  41. set -g message-style "bg=colour88,fg=colour255"
  42. set -g window-status-style "bg=colour244,fg=colour255"
  43. set -g window-status-format " #I:#W "
  44. set -g window-status-current-format "#[bg=colour88] #I:#W #[default]"
  45. set -g status-left "#[fg=colour254,bg=colour19] #h #[fg=colour254,bg=colour241] #S #[default] "
  46. set -g status-right " #[fg=colour254,bg=colour241] %a %e #[fg=colour254,bg=colour234] %k:%M "