diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 09befe3..c584d23 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -205,8 +205,8 @@ bind -r P paste-buffer -p ## Toggle selection bind -T copy-mode-vi v if -F '#{selection_active}' 'send-keys -X clear-selection' 'send-keys -X begin-selection' +bind -T copy-mode-vi Escape if -F '#{selection_active}' 'send-keys -X clear-selection' 'send-keys -X cancel' -bind -T copy-mode-vi Escape send-keys -X cancel bind -T copy-mode-vi C-c send-keys -X cancel bind -T copy-mode-vi q send-keys -X cancel