diff options
-rw-r--r-- | misc/tmux.conf | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/misc/tmux.conf b/misc/tmux.conf index 70c3188..bc69b14 100644 --- a/misc/tmux.conf +++ b/misc/tmux.conf | |||
@@ -1,13 +1,15 @@ | |||
1 | # tty | ||
1 | set -g default-terminal "tmux-256color" | 2 | set -g default-terminal "tmux-256color" |
2 | set -ag terminal-overrides ",xterm-256color:RGB" | 3 | set -ag terminal-overrides ",xterm-256color:RGB" |
3 | set -sg escape-time 0 | 4 | set -sg escape-time 0 |
5 | set -gw xterm-keys on | ||
4 | 6 | ||
5 | # Use Ctrl-G for prefix | 7 | # prefix |
6 | unbind C-b | 8 | unbind C-b |
7 | set-option -g prefix C-g | 9 | set -g prefix C-g |
8 | bind-key C-g send-prefix | ||
9 | 10 | ||
10 | set-option -gw xterm-keys on | 11 | # status bar |
12 | set-window-option -g window-status-current-style bg=yellow | ||
11 | 13 | ||
12 | # Tab key | 14 | # Tab key |
13 | bind-key -nr C-_ send-keys C-/ | 15 | bind-key -nr C-_ send-keys C-/ |
@@ -15,13 +17,15 @@ bind-key -nr C-_ send-keys C-/ | |||
15 | new-session # Start a new session if none available | 17 | new-session # Start a new session if none available |
16 | 18 | ||
17 | bind N new-session | 19 | bind N new-session |
18 | bind-key -n C-F3 set-option -g status #Ctrl+F3 Combo | 20 | bind-key -n C-F3 set -g status #Ctrl+F3 Combo |
19 | 21 | ||
20 | bind k copy-mode | 22 | bind k copy-mode |
21 | bind-key T swap-window -t 0 | 23 | bind-key T swap-window -t 0 |
22 | 24 | ||
25 | # config | ||
23 | bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." | 26 | bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." |
24 | 27 | ||
28 | # layout | ||
25 | bind C-q select-layout even-horizontal | 29 | bind C-q select-layout even-horizontal |
26 | bind C-w select-layout even-vertical | 30 | bind C-w select-layout even-vertical |
27 | bind C-e select-layout main-horizontal | 31 | bind C-e select-layout main-horizontal |