5b4352a85d0fcdb248ad13b16fb09c71d356bdc2
[grml-etc-core.git] / etc / tmux.conf
1 # Filename:      /etc/tmux
2 # Purpose:       configuration file for tmux
3 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika at grml.org>,
4 #                Sebastian Boehm <sebastian at sometimesfood.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2.
7 ################################################################################
8
9 # screen-like keybindings
10 unbind C-b
11 set -g prefix C-a
12 bind-key a send-prefix
13 bind-key C-a last-window
14 #unbind space
15 #bind-key space next-window
16 #bind-key C-space next-window
17 #bind-key C-h previous-window
18
19 # useful custom keybindings
20 bind-key | command-prompt -p "exec:" "split-window -h '%%'"
21 bind-key - command-prompt -p "exec:" "split-window -v '%%'"
22
23 # misc options
24 set -s escape-time 0
25 set -g default-terminal "screen-256color"
26 set -g display-panes-time 3000
27 set -g mouse-select-pane on
28 set -g visual-activity on
29
30 # appearance
31 set -g status-fg white
32 set -g status-bg black
33
34 set-window-option -g window-status-fg white
35 set-window-option -g window-status-bg black
36 set-window-option -g window-status-attr dim
37
38 set-window-option -g window-status-current-bg green
39 set-window-option -g window-status-current-fg white
40 set-window-option -g window-status-current-attr bold
41
42 set -g status-left-length 20
43 set -g status-left-fg red
44 set -g status-left-bg black
45 set -g status-left-attr bold
46 set -g status-left '[#S:#H]'
47
48 set -g status-right-fg yellow
49 set -g status-right-bg black
50 set -g status-right '%Y-%m-%d %H:%M'