3 set -g default-terminal screen-256color
4 set -g history-limit 100000
5 set -g mouse-select-pane on
10 set -s escape-time 100
17 bind -n F5 source ~/.tmux.conf
18 bind -n M-x command-prompt
22 bind -n C-up resize-pane -U
23 bind -n C-down resize-pane -D
24 bind -n C-left resize-pane -L
25 bind -n C-right resize-pane -R
29 bind p previous-window
30 bind C-p previous-window
31 bind s command-prompt "split-window -v '%%'"
32 bind S command-prompt "split-window -v '%%'"
33 bind v command-prompt "split-window -h '%%'"
34 bind C-v command-prompt "split-window -h '%%'"
37 bind r command-prompt "new-window '%%'"
38 bind c confirm-before kill-pane
39 bind x confirm-before kill-pane
40 bind ! command-prompt -p Man: "split-window 'man %%'"
49 bind i display-message \; display-panes
50 set -g display-panes-time 1500
51 set -g display-time 1500
54 bind Tab choose-window
55 bind 1 select-window -t 1
56 bind 2 select-window -t 2
57 bind 3 select-window -t 3
58 bind 4 select-window -t 4
59 bind 5 select-window -t 5
60 bind 6 select-window -t 6
61 bind 7 select-window -t 7
62 bind 8 select-window -t 8
63 bind 9 select-window -t 9
64 bind 0 select-window -t 10
66 ##############################################################################
70 bind -t vi-copy C-u page-up
71 bind -t vi-copy C-d page-down
72 bind -t vi-copy G bottom-line
73 bind -n -t vi-copy Escape cancel
75 ##############################################################################
77 bind -n -t vi-edit Escape switch-mode
78 bind -n -t vi-edit Up history-up
79 bind -n -t vi-edit Down history-down
80 bind -n -t vi-edit Left cursor-left
81 bind -n -t vi-edit Right cursor-right
82 bind -n -t vi-edit C-u delete-line
83 bind -n -t vi-edit C-k delete-end-of-line
85 bind -c -t vi-edit Escape cancel
86 bind -c -t vi-edit | start-of-line
88 ##############################################################################
90 set -g visual-activity on
91 set -g visual-bell off
92 set -g bell-action any
93 set -wg monitor-activity off
95 ##############################################################################
98 set -g status-attr default
99 set -g status-fg white
100 set -g status-bg default
101 set -g status-justify centre
102 set -g status-utf8 on
104 set -g status-left "#[fg=green][ #[fg=blue,bold]%H:%M #[fg=green,nobold]]["
105 set -g status-right "#[fg=green]][ #[fg=blue,bold]#(cut -d' ' -f1-3 /proc/loadavg) #[fg=green,nobold]]"
107 # command/message line colors
108 set -g message-fg white
109 set -g message-bg red
110 set -g message-attr bright
112 # default window title colors
113 set -wg window-status-fg white
114 set -wg window-status-bg default
115 set -wg window-status-attr dim
117 set -wg window-status-format '#I #W#F'
118 set -wg window-status-current-format '#[fg=red,nobold][#[fg=white,bold]#I #W#F#[fg=red,nobold]]'
120 set -g pane-border-bg default
121 set -g pane-border-fg default
122 set -g pane-active-border-bg default
123 set -g pane-active-border-fg red
125 # active window title colors
126 set -wg window-status-current-fg white
127 set -wg window-status-current-bg default
128 set -wg window-status-current-attr bright