Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. # indexing
  2. set-option -g base-index 1
  3.  
  4. # synchronize panes with "Y"
  5. bind-key y set-window-option synchronize-panes
  6.  
  7. # mouse & scroll configurations
  8. set-option -g mode-mouse on # allows us to use the mouse for scrolling
  9. set-option -g mouse-select-pane on # select a pane with mouse
  10. set-option -g history-limit 100000 # really large scroll-back
  11. bind -n C-k clear-history # bind ctrl+k to clear scroll-back
  12.  
  13. # title
  14. set-option -g set-titles on
  15. set-option -g set-titles-string '#H:#S.#I.#P #W #T'
  16.  
  17. # bell config
  18. set-option -g bell-action any
  19. set-option -g visual-bell off
  20.  
  21. # status screen
  22. set-option -g status-utf8 on
  23. set -g status-bg black
  24. set -g status-fg green
  25. set -g status-left-length 15
  26. set -g status-left ' #[fg=cyan,bright]#10H#[fg=green]:#[fg=white]#S#[fg=green] | #[default]'
  27. set -g status-right '| #[fg=yellow]%y-%m-%d %H:%M '
  28. set -g status-justify centre
  29.  
  30. # misc bindings
  31. bind-key r source-file ~/.tmux.conf
  32. bind-key S command-prompt -p ssh: "new-window -n %1 'ssh %1'"
  33. bind-key | split-window -h
  34. bind-key - split-window -v
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement