From 051df3682f8b80496a33e896d67b1a8d32670f82 Mon Sep 17 00:00:00 2001 From: zoomiti Date: Sun, 28 Sep 2025 15:55:58 -0700 Subject: [PATCH] Adds more tmux hotkeys --- .tmux.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index ce26f46..807c2cd 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -6,11 +6,23 @@ set -g prefix C-s bind C-s send-prefix bind C-w send-keys C-w +# Create new session +bind C new-session + +# Kill session +bind X confirm-before -p "kill-session #S? (y/n)" kill-session + +# More intuitive split commands +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" + set -g mouse on # act like vim setw -g mode-keys vi +set -g focus-events on + # Start windows and panes at 1, not 0 set -g base-index 1 set -g pane-base-index 1