summaryrefslogtreecommitdiff
path: root/modes/term
diff options
context:
space:
mode:
authorcondy <condy0919@gmail.com>2022-04-24 03:27:25 +0800
committercondy <condy0919@gmail.com>2022-04-24 03:27:25 +0800
commit0488e2840fa6adc139fd27685a2f9a2fe17029a5 (patch)
treea37afa9466c25616bcf70d684f367deaf5ba4f23 /modes/term
parenta075a4e439ac7fe2cc57e5bba910291820fd31f1 (diff)
backspace for tty users
Diffstat (limited to 'modes/term')
-rw-r--r--modes/term/evil-collection-term.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/modes/term/evil-collection-term.el b/modes/term/evil-collection-term.el
index 740b7f7..f157377 100644
--- a/modes/term/evil-collection-term.el
+++ b/modes/term/evil-collection-term.el
@@ -159,9 +159,9 @@ it is not appropriate in some cases like terminals."
;; https://github.com/emacs-evil/evil-collection/issues/235
(with-eval-after-load 'multi-term
(evil-collection-define-key 'normal 'term-mode-map
- (kbd "<M-backspace>") 'term-send-backward-kill-word)
+ (kbd "M-DEL") 'term-send-backward-kill-word)
(evil-collection-define-key 'insert 'term-raw-map
- (kbd "<M-backspace>") 'term-send-backward-kill-word)))
+ (kbd "M-DEL") 'term-send-backward-kill-word)))
(provide 'evil-collection-term)
;;; evil-collection-term.el ends here