From 1dc78a4842e45033bf3eb680c14d75dda284afbf Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 23 Jan 2025 14:11:23 +0100 Subject: [PATCH] tmux/prompts --- sh/tmux.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index d8ad473..a92e3d2 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -205,6 +205,10 @@ bind-key -n M-Right next-window # │ key │ prefix │ # ╰─────┴────────╯ +# rename +bind-key C-s command-prompt 'rename-session %%' +bind-key C-w command-prompt 'rename-window %%' + # split window bind-key h split-window -h bind-key v split-window -v @@ -226,7 +230,7 @@ bind-key M-Right swap-window -t +1 # ╭────────────────────────────────────┼───────────┼─────────┼─────┼─────┤ # │ command-prompt 'rename-session %%' │ │ C-s │ │ │ # │ command-prompt 'rename-window %%' │ │ C-w │ │ │ -# │ detach-client │ F6 │ │ │ d │ +# │ detach-client │ │ │ │ d │ # │ new-session │ │ │ │ │ # │ new-window │ F2 │ │ │ │ # │ next-window │ M-Right │ │ │ │