blob: d3746a0911d9c281e2a06fd45c39ff255b47463d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Use C-a
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
# For vim themes
set -g default-terminal "xterm-256color"
# xterm-style function key sequences
setw -g xterm-keys on
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
# start from 1
set -g base-index 1
setw -g pane-base-index 1
# Emacs is cool, but I prefer vim
set -g status-keys vi
setw -g mode-keys vi
# More history
set -g history-limit 10000
# avoid delay and ESC behaving weird
set -g escape-time 0
# Status bar with load and time
set -g status-bg '#4e4e4e'
set -g status-fg '#ffffff'
set -g status-left-length 60
set -g status-left '[#S] #[fg=#80ff80]#H#[default] '
set -g status-right '%a %H:%M %Y-%m-%d'
set -g window-status-format '#I: #W#F'
set -g window-status-current-format ' #I: #W#F '
setw -g window-status-current-bg '#80ff80'
setw -g window-status-current-fg '#000000'
# Pane border colors
set -g pane-active-border-fg '#40a040'
set -g pane-border-fg '#555555'
# Bind to reload config
bind r source-file ~/.tmux.conf
|