Advertisement
BSDG33KCLUB

OpenBSD .tmux.conf (decwindows) nice tmux :)

Mar 17th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. # Tmux config by: RAZ0REDGE for OpenBSD Decwindows
  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-position top
  22. set-option -g status-justify centre
  23.  
  24. # status left options
  25. set-option -g status-left '#[fg=red]« #[bg=default,fg=yellow]#S#[fg=red] »'
  26. set-option -g status-left-length 20
  27.  
  28. # window list options
  29. setw -g automatic-rename on
  30. set-option -g status-justify centre
  31. set-window-option -g window-status-format '#[fg=red]#I#[fg=yellow]:#[default]#W#[fg=grey]#F'
  32. set-window-option -g window-status-current-format '#[fg=red]« #[bg=default,fg=yellow,bold]#I#[bg=default,fg=red]:#[fg=colour230]#W#[fg=dim]#F#[fg=red] »'
  33. set -g base-index 1
  34.  
  35. # status right options
  36.  
  37. set -g status-right '#[fg=red]« #[fg=yellow]%Y-%m-%d #[fg=yellow]%H:%M#[default] #($HOME/bin/battery)#[fg=red]»'
  38.  
  39.  
  40. # bind a reload key
  41. bind R source-file ~/.tmux.conf \; display-message " Config reloaded..".
  42.  
  43.  
  44. # Set Copy-Mode settings
  45. bind [ copy-mode
  46. bind -t vi-copy v begin-selection
  47. bind -t vi-copy y copy-selection
  48. bind -t vi-copy V rectangle-toggle
  49. bind ] paste-buffer
  50.  
  51. # buffer
  52. bind Space choose-buffer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement