From 9a52eb58eb754c0e52681788a641ed55daab8c42 Mon Sep 17 00:00:00 2001 From: Jason Hilder Date: Thu, 23 Apr 2026 08:33:30 +0200 Subject: [PATCH] Updated tmux config for better binds. --- config/tmux/.tmux.conf | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/config/tmux/.tmux.conf b/config/tmux/.tmux.conf index b5b7bee..e98844d 100644 --- a/config/tmux/.tmux.conf +++ b/config/tmux/.tmux.conf @@ -1,6 +1,6 @@ # Terminal colors -set -g default-terminal "screen-256color" -set -ga terminal-overrides ',xterm-256color:Tc' +set -g default-terminal "tmux-256color" +set -as terminal-features ",xterm*:RGB" set -g mouse on set -g base-index 1 set -g pane-base-index 1 @@ -22,8 +22,6 @@ bind -n C-l select-pane -R bind -n C-k select-pane -U bind -n C-j select-pane -D -bind -n C-p previous-window -bind -n C-n next-window bind h select-pane -L bind l select-pane -R @@ -41,11 +39,16 @@ bind-key -n M-5 selectw -t 3 bind m command-prompt "new-session -s %1" # split panes using | and - -bind o split-window -h -l 40% -c "#{pane_current_path}" -bind v split-window -v -l 35% -c "#{pane_current_path}" unbind '"' unbind % +bind '\' split-window -h -l 40% -c "#{pane_current_path}" +bind '`' split-window -v -l 35% -c "#{pane_current_path}" + +bind-key -n 'C-\' run-shell -b "~/.local/bin//toggle-tmux-pane" +bind g run-shell 'tmux popup -d "#{pane_current_path}" -xC -yC -w90% -h90% -E gitu' +bind f run-shell 'tmux popup -d "#{pane_current_path}" -xC -yC -w90% -h90% -E spf' + ## STATUS BAR ################################################################## ## Status bar design