Guest User

Untitled

a guest
Feb 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. # Custom tmux configuration: ~/.tmux.conf
  2.  
  3. #Start Session: tmux attach -d -t x
  4.  
  5. # SETTING SECTION -------------------------------------------------------
  6.  
  7. # set the command prefix to match gnuscreen (i.e. CTRL+a)
  8. set -g prefix C-a
  9. bind-key C-a last-window
  10.  
  11. # utf8
  12. set-window-option -g utf8 on
  13.  
  14. # Set window notifications
  15. setw -g monitor-activity on
  16. set -g visual-activity on
  17.  
  18. # COLOR -----------------------------------------------------------------
  19.  
  20. # Highlight active window
  21. set-window-option -g window-status-current-bg blue
  22.  
  23. # set the current window name to a nice bold white text
  24. setw -g window-status-current-attr bold
  25. setw -g window-status-current-fg white
  26.  
  27. # statusbar background to black, foreground to white
  28. set-option -g status-fg white
  29. set-option -g status-bg black
  30.  
  31. # STATUSBAR --------------------------------------------------------------
  32.  
  33. # start window indexing at one instead of zero
  34. set -g base-index 1
  35.  
  36. # hostname is printed on the left, uptime and current load on the right
  37. set -g status-left '#[fg=red]#H'
  38. set -g status-right "#(uptime|cut -d "," -f 1-2)"
  39.  
  40. # Automatically set window title
  41. setw -g automatic-rename
  42.  
  43. # don't rename windows automatically
  44. set-window-option -g automatic-rename off
  45.  
  46. # fix the titles
  47. set -g set-titles on
  48. set -g set-titles-string "#I:#W"
  49.  
  50. # be notified when there is activity in one of your windows
  51. setw -g monitor-activity on
  52.  
  53. # scrollback buffer n lines
  54. set -g history-limit 5000
  55.  
  56. # BINDING SECTION ------------------------------------------------------
  57.  
  58. # reload changes in tmux, handy
  59. bind r source-file ~/.tmux.conf
  60.  
  61. #split screen
  62. unbind %
  63. bind | split-window -h
  64. bind - split-window -v
  65.  
  66. # ctrl+left/right cycles thru windows
  67. bind-key -n C-right next
  68. bind-key -n C-left prev
  69.  
  70. # open a man page in new window
  71. bind / command-prompt "split-window 'exec man %%'"
  72.  
  73. # quick view of processes
  74. bind '~' split-window "exec htop"
  75.  
  76. #STARTUP SESSION -----------------------------------------------------
  77.  
  78. # das musst du dir umschreiben wie du es brauchst
  79.  
  80. # session initialization
  81. new -s x weechat-curses
  82. splitw -p 10 "mocp -T ~/.moc/themes/cyan"
  83. splitw -h
  84. neww "ssh to some where"
  85. selectw -t 2
  86. #select-pane -t 0
Add Comment
Please, Sign In to add comment