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