From 565298b457bbe466d216a34bbc7c317f96dc5570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 2 Aug 2025 20:45:45 +0200 Subject: [PATCH] feat(tmux): new bindings --- .config/tmux/conf/binds.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/tmux/conf/binds.conf b/.config/tmux/conf/binds.conf index b6f7c05a..a39e2d44 100644 --- a/.config/tmux/conf/binds.conf +++ b/.config/tmux/conf/binds.conf @@ -23,7 +23,7 @@ bind - split-window -vc "#{pane_current_path}" # Maintain the same path when creating a new window bind c new-window -c "#{pane_current_path}" -bind-key C command-prompt -p "Enter window name:" "new-window -n '%%'" +bind C command-prompt -p "New session name:" "new-session -s '%%'" # Move to the next and prev window bind-key -n C-M-l next-window @@ -43,7 +43,7 @@ bind -n C-Down resize-pane -D 2 # Change window name bind-key r command-prompt -I "#W" "rename-window '%%'" -bind-key R command-prompt -I "#W" "rename-session '%%'" +bind-key R command-prompt -I "#S" "rename-session '%%'" # Close a window bind-key Q kill-window