From 9091b469e1b6f2fa20443a629c8a9a9225b065f5 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Wed, 4 Dec 2024 10:28:43 -0600 Subject: [PATCH] Update tmux bindings for some to not repeat --- .../home_manager/tmux/tmux-reset.conf | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/users/_common/components/home_manager/tmux/tmux-reset.conf b/users/_common/components/home_manager/tmux/tmux-reset.conf index e76043b..514597c 100644 --- a/users/_common/components/home_manager/tmux/tmux-reset.conf +++ b/users/_common/components/home_manager/tmux/tmux-reset.conf @@ -6,20 +6,20 @@ bind C-Space send-prefix # bind -r p previous-window # bind -r n next-window bind -r & kill-window -bind -r c new-window -c "#{pane_current_path}" +bind c new-window -c "#{pane_current_path}" bind ',' command-prompt "rename-window %%" bind "\|" split-window -h -c "#{pane_current_path}" bind "\\" split-window -v -c "#{pane_current_path}" bind w choose-tree -Zw -bind -r 1 select-window -t:1 -bind -r 2 select-window -t:2 -bind -r 3 select-window -t:3 -bind -r 4 select-window -t:4 -bind -r 5 select-window -t:5 -bind -r 6 select-window -t:6 -bind -r 7 select-window -t:7 -bind -r 8 select-window -t:8 -bind -r 9 select-window -t:9 +bind 1 select-window -t:1 +bind 2 select-window -t:2 +bind 3 select-window -t:3 +bind 4 select-window -t:4 +bind 5 select-window -t:5 +bind 6 select-window -t:6 +bind 7 select-window -t:7 +bind 8 select-window -t:8 +bind 9 select-window -t:9 # custom bind m command-prompt -p "Swap with window index:" "swap-window -t '%%'" bind -r [ swap-window -t -1 \; previous-window @@ -32,7 +32,7 @@ bind -r left select-pane -L bind -r down select-pane -D bind -r up select-pane -U bind -r right select-pane -R -bind -r x kill-pane +bind x kill-pane bind -r space resize-pane -Z bind S select-layout tiled bind -r h select-pane -L