Advertisement
elhackerlibre

.tmux.conf

Jan 11th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. #============================#
  2. # My setting tmux.conf #
  3. # Author: Felix Molero #
  4. # Date: 06/01/2017 #
  5. #============================#
  6.  
  7.  
  8. unbind C-b
  9. set -g prefix C-a
  10. bind C-a send-prefix
  11.  
  12. # Active mouse
  13. #============================#
  14. set -g mouse on
  15. set -g history-limit 30000
  16.  
  17. # Custom status bar
  18. #============================#
  19. set -g status-bg white
  20. set -g status-left "#[bg=#0087af] #H #[bg=default] "
  21. set -g status-right "#[bg=#ff6600] %d/%m/%Y - %I:%M %P "
  22. set -g status-justify left
  23. set -g status-bg "#005f87"
  24. set -g status-left-length 25
  25. set -g status-right-length 20
  26. set-window-option -g window-status-current-format " #[fg=cyan,bold]#I:#[fg=3,bold]#W "
  27.  
  28.  
  29. # Sane Split Commands
  30. #=============================#
  31. # split panes using | and -
  32. bind | split-window -h
  33. bind - split-window -v
  34. unbind '"'
  35. unbind %
  36.  
  37. # Session initialization
  38. #===============================#
  39. new -n WindowName Command
  40. neww -n WindowName Command
  41. neww -n WindowName Command
  42.  
  43. new -s SessionName -n WindowName Command
  44. neww -n foo/bar foo
  45. splitw -v -p 50 -t 0 bar
  46. selectw -t 1
  47. selectp -t 0
  48.  
  49. # Initialize sessions
  50. #================================#
  51. bind F source-file ~/.tmux/foo
  52. bind B source-file ~/.tmux/bar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement