From f88f395ab07737a4f81f0241e2250ea1b835afa5 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Thu, 14 Nov 2024 17:06:33 +0800 Subject: Update --- misc/tmux.conf | 14 +++++++++----- 1 file 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 @@ +# tty set -g default-terminal "tmux-256color" set -ag terminal-overrides ",xterm-256color:RGB" set -sg escape-time 0 +set -gw xterm-keys on -# Use Ctrl-G for prefix +# prefix unbind C-b -set-option -g prefix C-g -bind-key C-g send-prefix +set -g prefix C-g -set-option -gw xterm-keys on +# status bar +set-window-option -g window-status-current-style bg=yellow # Tab key bind-key -nr C-_ send-keys C-/ @@ -15,13 +17,15 @@ 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-key -n C-F3 set -g status #Ctrl+F3 Combo bind k copy-mode bind-key T swap-window -t 0 +# config bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." +# layout bind C-q select-layout even-horizontal bind C-w select-layout even-vertical bind C-e select-layout main-horizontal -- cgit v1.2.3-70-g09d2