|
|
@ -0,0 +1,28 @@
|
|
|
1
|
# My little tmux config. It's mostly stolen from [here][stolen tmux.conf]
|
|
|
2
|
#
|
|
|
3
|
# That weird character below (in window-status-current-format) needs
|
|
|
4
|
# patched fonts which you can get from [this fine place][patched fonts]
|
|
|
5
|
#
|
|
|
6
|
# [stolen tmux.conf]: https://gist.github.com/1689941#file_.tmux.conf
|
|
|
7
|
# [patched fonts]: https://github.com/Lokaltog/vim-powerline/wiki/Patched-fonts
|
|
|
8
|
|
|
|
9
|
set -g default-terminal "screen-256color"
|
|
|
10
|
set -g status-utf8 on
|
|
|
11
|
|
|
|
12
|
set -g status-bg black
|
|
|
13
|
set -g status-fg white
|
|
|
14
|
set -g status-left ' #[default]'
|
|
|
15
|
# Have my mail status in the lower right. (colour235 is grey...)
|
|
|
16
|
set -g status-right '#[fg=colour235]lu #[fg=yellow]#(ls ~/.mails/lu/INBOX/new | wc -l | tr -d " ")#[fg=colour235]/#(ls ~/.mails/lu/INBOX/cur | wc -l | tr -d " ") htwk #[fg=yellow]#(ls ~/.mails/htwk/INBOX/new | wc -l | tr -d " ")#[fg=colour235]/#(ls ~/.mails/htwk/INBOX/cur | wc -l | tr -d " "), imn #[fg=yellow]#(ls ~/.mails/htwk.imn/INBOX/new | wc -l | tr -d " ")#[fg=colour235]/#(ls ~/.mails/htwk.imn/INBOX/cur | wc -l | tr -d " ")'
|
|
|
17
|
|
|
|
18
|
setw -g window-status-format '#[fg=green]#I #[fg=white]#W#[default] '
|
|
|
19
|
setw -g window-status-current-format '#[bg=white,fg=black]⮀ #W #[bg=black,fg=white]⮀'
|
|
|
20
|
|
|
|
21
|
bind-key -n F1 select-window -t 0
|
|
|
22
|
bind-key -n F2 select-window -t 1
|
|
|
23
|
bind-key -n F3 select-window -t 2
|
|
|
24
|
bind-key -n F4 select-window -t 3
|
|
|
25
|
bind-key -n F5 select-window -t 4
|
|
|
26
|
bind-key -n F6 select-window -t 5
|
|
|
27
|
bind-key -n F7 select-window -t 6
|
|
|
28
|
bind-key -n F8 select-window -t 7
|