From 071c2866e56de9c053a14cd851922b3ea6e2d008 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 24 Mar 2025 18:35:53 +0100 Subject: [PATCH] tmux:yank: Copy also in view-mode --- .config/tmux/yank.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/tmux/yank.sh b/.config/tmux/yank.sh index 0339db3..2d677be 100755 --- a/.config/tmux/yank.sh +++ b/.config/tmux/yank.sh @@ -14,7 +14,7 @@ command_prompt() { } mode="$(get_var pane_mode)" -if [ "$mode" != copy-mode ]; then +if [ "$mode" != copy-mode ] && [ "$mode" != view-mode ]; then >&2 printf "%s: Not in copy mode\n" "$0" exit 1 fi