Skip to content

Commit 2406425

Browse files
committed
Support custom vterm-copy-mode-map
1 parent 2681120 commit 2406425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vterm.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ A conventient way to exit `vterm-copy-mode' is with
840840
(if (equal major-mode 'vterm-mode)
841841
(if vterm-copy-mode
842842
(progn ;enable vterm-copy-mode
843-
(use-local-map nil)
843+
(use-local-map vterm-copy-mode-map)
844844
(vterm-send-stop))
845845
(vterm-reset-cursor-point)
846846
(use-local-map vterm-mode-map)

0 commit comments

Comments
 (0)