3f84f500b3d20f4ff992747cbeb959b1e69a7d82
[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 #                Bernhard Tittelbach <xro at realraum.at>
6 # Bug-Reports:   see http://grml.org/bugs/
7 # License:       This file is licensed under the GPL v2.
8 ################################################################################
9
10 # screen-like keybindings
11 unbind C-b
12 set -g prefix C-a
13 bind-key a send-prefix
14 bind-key C-a last-window
15 unbind space
16 bind-key space next-window
17 bind-key C-space next-window
18 #bind-key C-h previous-window
19
20 #rebind keys
21 bind-key h next-layout
22 bind-key ^? previous-window
23 bind-key ^H previous-window
24 bind-key tab select-pane -t :.+
25 # useful custom keybindings
26 bind-key | command-prompt -p "exec:" "split-window -h '%%'"
27 bind-key - command-prompt -p "exec:" "split-window -v '%%'"
28
29 # misc options
30 set -s escape-time 0
31 set -g default-terminal "screen-256color"
32 set -g display-panes-time 3000
33 set -g mouse-select-pane on
34 set -g visual-activity on
35
36 #set status line appearance
37 set -g status-utf8 on
38 set -g status-fg white
39 set -g status-bg black
40
41 set -g status-left-length 33
42 set -g status-right-length 60
43 set -g status-left "#[fg=red]#(echo ${USER})@#[fg=white]#(hostname -s) | #[fg=yellow]%H:%M#[fg=white] |"
44 set -g status-right "#[fg=white]| #[fg=yellow]#T: #I (#W)"
45 set-window-option -g window-status-fg blue
46 set-window-option -g window-status-bg black
47 set-window-option -g window-status-attr dim
48