Sokolmish

Tmux config

Aug 26th, 2020 (edited)
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set -g default-terminal "screen-256color"
  2.  
  3. # unbind C-b
  4. set-option -g prefix C-a
  5. bind-key C-a send-prefix
  6.  
  7. bind | split-window -h
  8. bind _ split-window -v
  9. unbind '"'
  10. unbind %
  11.  
  12. # switch panes using Alt-arrow without prefix
  13. bind -n M-Left select-pane -L
  14. bind -n M-Right select-pane -R
  15. bind -n M-Up select-pane -U
  16. bind -n M-Down select-pane -D
  17.  
  18. bind -n S-Right next-window
  19. bind -n S-Left previous-window
  20.  
  21. # No delay for escape key press
  22. set -sg escape-time 0
  23.  
  24. set -g pane-active-border-style bg=colour2
  25. set -ag pane-active-border-style fg=default
  26.  
  27. #set -g status-bg black
  28. #set -g status-fg white
  29. #set -g window-status-current-bg white
  30. #set -g window-status-current-fg black
  31. #set -g window-status-current-attr bold
  32. #set -g status-interval 60
  33. #set -g status-left-length 30
  34. #set -g status-left '#[fg=green](#S) #(whoami)'
  35. #set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=white]%H:%M#[default]'
  36.  
  37. set -g status-interval 10
  38. set -g status-right-length '150'
  39. set -g status-right 'Batt: #{battery_percentage} Remains: #{battery_remain} | %a %h-%d %H:%M '
  40.  
  41. run-shell /home/sokolmish/tmux-battery/battery.tmux
Add Comment
Please, Sign In to add comment