Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. # Change the prefix key to C-a
  2. set -g prefix C-a
  3. unbind C-b
  4. bind C-a send-prefix
  5.  
  6. # split panes using | and -
  7. bind | split-window -h
  8. bind - split-window -v
  9. unbind '"'
  10. unbind %
  11.  
  12. # reload config file (change file location to your the tmux.conf you want to use)
  13. # use CTRL + A : source-file ~/.tmux.conf
  14. # bind S source-file ~/.tmux.conf \; \
  15. # display-message "source-file done"
  16.  
  17. # switch panes using Alt-arrow without prefix
  18. bind-key -n M-Left previous-window
  19. bind-key -n M-Right next-window
  20.  
  21. set-option -g default-terminal screen-256color
  22. set -g terminal-overrides "*rxvt*:smcup@:rmcup@"
  23.  
  24. # enable/disable mouse support
  25. # set-option -g -q mouse on
  26. set-option -g -q mouse off
  27.  
  28. # enable xterm keys
  29. set -g xterm-keys on
  30.  
  31. # Some tweaks to the status line
  32. set -g status-bg cyan
  33. #set -g window-status-current-attr "underscore"
  34. set -g window-status-current-attr "bright"
  35.  
  36. set-window-option -g status-left " #S ::: "
  37. set-window-option -g status-left-fg black
  38. set-window-option -g status-left-bg white
  39.  
  40. set-window-option -g status-right " %H:%M ::: %d %B "
  41. set-window-option -g status-right-fg black
  42. set-window-option -g status-right-bg white
  43.  
  44. set-window-option -g window-status-format " #I: #W "
  45. #set-window-option -g window-status-format '#[bg=black]#[fg=black,bold] #I #[bg=default] #[fg=black]#W '
  46.  
  47. set-window-option -g window-status-current-format " #I: #W "
  48. #set-window-option -g window-status-current-format '#[fg=white]#[bg=cyan] #I #[fg=cyan]#[bg=default] #W '
  49. set-window-option -g window-status-current-fg yellow
  50. set-window-option -g window-status-current-bg black
  51.  
  52. ###
  53. # Status bar
  54. # set -g status-position bottom
  55. # set -g status-interval 4
  56. # set -g status-left ''
  57. # set -g status-right ''
  58. # set -g status-justify centre # center align window list
  59.  
  60. # setw -g status-bg default
  61. # setw -g window-status-current-bg default
  62. # setw -g window-status-current-fg default
  63. # setw -g window-status-bg default
  64. # setw -g window-status-fg white
  65. # setw -g window-status-format '#[bg=black]#[fg=black,bold] #I #[bg=default] #[fg=black]#W '
  66. # setw -g window-status-current-format '#[fg=white]#[bg=cyan] #I #[fg=cyan]#[bg=default] #W '
  67.  
  68. # Panel borders
  69. # set -g pane-active-border-fg cyan
  70. # set -g pane-active-border-bg default
  71. # set -g pane-border-fg black
  72. # set -g pane-border-bg default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement