shosei

tmux.conf

Mar 13th, 2012
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.11 KB | None | 0 0
  1. # Change prefix key to Ctrl+a
  2. # unbind C-b
  3. # set -g prefix C-a
  4.  
  5. # Last active window
  6. unbind l
  7. bind C-a last-window
  8.  
  9. # Copy mode
  10. unbind [
  11. bind Escape copy-mode
  12. # Use Vi mode
  13. setw -g mode-keys vi
  14. # Make mouse useful in copy mode
  15. setw -g mode-mouse on
  16.  
  17. # More straight forward key bindings for splitting
  18. unbind %
  19. bind | split-window -h
  20. bind h split-window -h
  21. unbind '"'
  22. bind - split-window -v
  23. bind v split-window -v
  24.  
  25. # History
  26. set -g history-limit 1000
  27.  
  28. # Pane
  29. unbind o
  30. bind C-s down-pane
  31.  
  32. # Terminal emulator window title
  33. set -g set-titles on
  34. set -g set-titles-string '#S:#I.#P #W'
  35.  
  36. # Status Bar
  37. set -g status-bg black
  38. set -g status-fg white
  39. set -g status-interval 1
  40. set -g status-left '#[fg=green]#H#[default]'
  41. set -g status-right '#[fg=yellow]#(cut -d " " -f 1-4 /proc/loadavg)#[default] #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default]'
  42.  
  43. # Notifying if other windows has activities
  44. setw -g monitor-activity on
  45. set -g visual-activity on
  46.  
  47. # Highlighting the active window in status bar
  48. setw -g window-status-current-bg red
  49.  
  50. # Clock
  51. setw -g clock-mode-colour green
  52. setw -g clock-mode-style 24
Advertisement
Add Comment
Please, Sign In to add comment