From e15c4348fd87f174d253ebecd03b41a0376b9783 Mon Sep 17 00:00:00 2001 From: slange-dev Date: Thu, 9 Jan 2025 23:43:49 +0100 Subject: [PATCH 1/2] Fix default continue key Since tmux v2.4 the Enter key default is "send -X copy-selection-and-cancel" and q "send -X cancel" in copy-mode-vi --- scripts/helpers/tmux_echo_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helpers/tmux_echo_functions.sh b/scripts/helpers/tmux_echo_functions.sh index 7a6ef0a0..a9be5da0 100644 --- a/scripts/helpers/tmux_echo_functions.sh +++ b/scripts/helpers/tmux_echo_functions.sh @@ -19,7 +19,7 @@ end_message() { if _has_emacs_mode_keys; then local continue_key="ESCAPE" else - local continue_key="ENTER" + local continue_key="q" fi tmux_echo "" tmux_echo "TMUX environment reloaded." From 99f37d019a3d0a17df007fbef80674efbd43d40a Mon Sep 17 00:00:00 2001 From: slange-dev Date: Thu, 9 Jan 2025 23:54:06 +0100 Subject: [PATCH 2/2] Bugfix: `q` quits tpm with vi copy mode --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9ce81ec..571cb329 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ### master +- bug: when using `vi` copy mode, Enter does not quit screen after tpm + installation/update. Fix by making `q` the key for vi mode. ### v3.1.0, 2023-01-03 - upgrade to new version of `tmux-test`