Advertisement
BSDG33KCLUB

openbsd .tmux.conf

Mar 15th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. # CyberPunkZ .tmux.conf best with weechat and my .Xdefaults
  2. # set command prefix for tmux
  3. set-option -g prefix C-a
  4. unbind C-r
  5.  
  6. # set vi mode keys
  7. setw -g mode-keys vi
  8.  
  9. # set some bindings for moving around terminals (vim-like)
  10. bind h select-pane -L
  11. bind j select-pane -D
  12. bind k select-pane -U
  13. bind l select-pane -R
  14.  
  15. # Define my custom menu bar
  16. # status bar colors
  17. set -g status-bg default
  18. set -g status-fg red
  19.  
  20. # alignment settings
  21. set-option -g status-justify centre
  22.  
  23. # status left options
  24. set-option -g status-left '#[fg=yellow][#[bg=default,fg=red]#S#[fg=yellow]]'
  25. set-option -g status-left-length 20
  26.  
  27. # window list options
  28. setw -g automatic-rename on
  29. set-window-option -g window-status-format '#[fg=red,dim]#I#[fg=yellow]:#[default]#W#[fg=grey,dim]#F'
  30. set-window-option -g window-status-current-format '#[bg=default,fg=red,bold]#I#[bg=default,fg=yellow]:#[fg=colour230]#W#[fg=dim]#F'
  31. set -g base-index 1
  32.  
  33. # status right options
  34.  
  35. set -g status-right '#[fg=red][#[fg=green]%Y-%m-%d #[fg=yellow]%H:%M#[default] #($HOME/bin/battery)#[fg=red]]'
  36.  
  37.  
  38. # bind a reload key
  39. bind R source-file ~/.tmux.conf \; display-message " Config reloaded..".
  40.  
  41.  
  42. # Set Copy-Mode settings
  43. bind [ copy-mode
  44. bind -t vi-copy v begin-selection
  45. bind -t vi-copy y copy-selection
  46. bind -t vi-copy V rectangle-toggle
  47. bind ] paste-buffer
  48.  
  49. # buffer
  50. bind Space choose-buffer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement