From a9386c536189f2aaf38c9e2ba674a096657ca366 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 17 Sep 2024 11:37:32 +0800 Subject: Update --- misc/tmux.conf | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'misc') 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 @@ set -g default-terminal "tmux-256color" set -ag terminal-overrides ",xterm-256color:RGB" +set -sg escape-time 0 +# Use Ctrl-G for prefix unbind C-b set-option -g prefix C-g bind-key C-g send-prefix + set-option -gw xterm-keys on + +# Tab key bind-key -nr C-_ send-keys C-/ new-session # Start a new session if none available + bind N new-session bind-key -n C-F3 set-option -g status #Ctrl+F3 Combo bind k copy-mode +bind-key T swap-window -t 0 -set -sg escape-time 0 +bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." -#bind C-q select-layout even-horizontal -#bind C-w select-layout even-vertical -#bind C-e select-layout main-horizontal -#bind C-r select-layout main-vertical +bind C-q select-layout even-horizontal +bind C-w select-layout even-vertical +bind C-e select-layout main-horizontal +bind C-r select-layout main-vertical -- cgit v1.2.3-70-g09d2