Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ` is an interesting key for a prefix
  2. set-option -g prefix `
  3. set-option -g prefix C-a
  4.  
  5. unbind-key C-b
  6. bind-key C-a last-window
  7. bind-key ` last-window
  8. bind-key a send-prefix
  9.  
  10. # we might need ` at some point, allow switching
  11. # we can also send the prefix char with `-a
  12. bind-key F11 set-option -g prefix C-a
  13. bind-key F12 set-option -g prefix `
  14.  
  15. # 0 is too far from `
  16. set -g base-index 1
  17.  
  18. # set-option -g default-terminal "screen-256color"
  19. set-option -g mouse-select-pane on
  20. set-option -g status-keys vi
  21. set-option -g bell-action any
  22. set-option -g set-titles on
  23. set-option -g set-titles-string '#H:#S.#I.#P #W #T' # window number,program name,active (or not)
  24. set-option -g visual-bell on
  25.  
  26. setw -g mode-keys vi
  27. setw -g mode-mouse on
  28. setw -g monitor-activity on
  29.  
  30. bind e previous-window
  31. bind f next-window
  32. #bind j up-pane
  33. #bind k down-pane
  34.  
  35. set-option -g status-utf8 on
  36. # set-option -g status-justify centre
  37. set-option -g status-justify left
  38. set-option -g status-bg black
  39. set-option -g status-fg white
  40. set-option -g status-left-length 40
  41.  
  42. set-option -g pane-active-border-fg green
  43. set-option -g pane-active-border-bg black
  44. set-option -g pane-border-fg white
  45. set-option -g pane-border-bg black
  46.  
  47. set-option -g message-fg black
  48. set-option -g message-bg green
  49.  
  50. #setw -g mode-bg black
  51.  
  52. setw -g window-status-bg black
  53. setw -g window-status-current-fg green
  54. setw -g window-status-alert-attr default
  55. setw -g window-status-alert-fg yellow
  56.  
  57. set -g status-left '#[fg=red]#H#[fg=green]:#[fg=white]#S #[fg=green]][#[default]'
  58.  
  59. # set -g status-right '#[fg=green]][#[fg=white] #T #[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'
  60. set -g status-right '#[fg=green]'
  61.  
  62. set -g history-limit 4096
  63.  
  64. # `+r reloads the configuration, handy
  65. bind r source-file ~/.tmux.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement