From 74bffde6cf764c4e953084675cb1c6061a16763d Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Wed, 5 Aug 2026 00:48:09 +0800 Subject: [PATCH] feat(tmux): press ESC to exit copy mode --- .tmux.conf2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.tmux.conf2 b/.tmux.conf2 index fe5ead5..346bb8e 100644 --- a/.tmux.conf2 +++ b/.tmux.conf2 @@ -36,6 +36,8 @@ bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection -x ## F12: passthru bind -T root F12 set prefix None \; set key-table off \; set status-bg red \; refresh-client -S bind -T off F12 set -u prefix \; set -u key-table \; set -u status-bg \; refresh-client -S +## ESC: exit copy mode +bind -T copy-mode-vi Escape send-keys -X cancel # styles # status bar