From 9dcdc2a6e69da129eda062b03a77ae52a0d1e42b Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Sat, 11 Oct 2025 15:31:59 +0200 Subject: [PATCH] more ergonomic keybindings for tmux and some other popups --- tmux/.tmux.conf | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 26ddb7b..02a743d 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -6,19 +6,18 @@ bind-key C-a send-prefix unbind c bind c new-window -c "#{pane_current_path}" -bind r source-file ~/.tmux.conf \; display "Reloaded!" +bind c-r source-file ~/.tmux.conf \; display "Reloaded!" set -g mouse on -bind h select-pane -L -bind j select-pane -D -bind k select-pane -U -bind l select-pane -R +bind c-h select-pane -L +bind c-j select-pane -D +bind c-k select-pane -U +bind c-l select-pane -R -bind | split-window -h -bind - split-window -v - -bind g popup -E -w 100% -h 100% -d "#{pane_current_path}" -B lazygit +bind c-g popup -E -w 100% -h 100% -d "#{pane_current_path}" -b rounded lazygit +bind c-k popup -E -w 100% -h 100% -b rounded "tmux list-keys | fzf" +bind c-t popup -E -w 100% -h 100% -b rounded -d "#{pane_current_path}" set -g default-terminal "tmux-256color" set -as terminal-overrides ",xterm-256color:Tc"