From 9be0299794b8101b548fd0858c0dd22cb1b462bd Mon Sep 17 00:00:00 2001 From: Joshua Finch Date: Thu, 1 May 2025 07:09:05 -0500 Subject: [PATCH] feat: Small update to tmux to stop dynamic renaming of windows and cleaning up key mappings for splits and config reload. --- tmux.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index 8ee6ef8..7bd0283 100644 --- a/tmux.conf +++ b/tmux.conf @@ -7,18 +7,20 @@ setw -gq utf8 on # Allow mouse interactions set -g mouse on +set-option -g allow-rename + # Bindings ## More comfortable prefix binding unbind C-b set-option -g prefix C-Space +bind-key C-Space send-prefix ## More natural window splits bind \\ split-window -h -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}" -bind -n C-M-\\ split-window -h -c "#{pane_current_path}" -bind -n C-M-_ split-window -v -c "#{pane_current_path}" unbind '"' unbind % +bind r source-file ~/.tmux.conf; display-message "Config reloaded..." ## Better pane navigation bind -n C-M-h select-pane -L