1 | unbind C-b |
---|
2 | set -g prefix C-a |
---|
3 | set -g history-limit 10000 |
---|
4 | bind-key a send-key C-a |
---|
5 | bind-key C-a last-window |
---|
6 | |
---|
7 | # vi mode |
---|
8 | setw -g mode-keys vi |
---|
9 | set -g status-keys vi |
---|
10 | |
---|
11 | # Bind extra keys for page up/down mainly for laptop use |
---|
12 | bind-key -t vi-edit Up history-up |
---|
13 | bind-key -t vi-edit Down history-down |
---|
14 | |
---|
15 | bind r source-file ~/.tmux.conf \; display-message "Configuration reloaded..." |
---|
16 | |
---|
17 | # Colours |
---|
18 | set-option -g status-bg cyan |
---|
19 | |
---|
20 | # Refresh the status bar every 30 seconds |
---|
21 | set-option -g status-interval 30 |
---|
22 | |
---|
23 | # Open new window in current directory, for tmux 1.9+ |
---|
24 | bind-key c new-window -c "#{pane_current_path}" |
---|
25 | |
---|
26 | # Faster escape |
---|
27 | set-option -sg escape-time 0 |
---|