Use multi-term functions when it loads (#235)
This commit is contained in:
parent
404c8cf8ba
commit
665eef8ae1
|
@ -154,7 +154,14 @@ it is not appropriate in some cases like terminals."
|
||||||
"gj" 'term-next-prompt
|
"gj" 'term-next-prompt
|
||||||
;; "0" 'term-bol ; "0" is meant to really go at the beginning of line.
|
;; "0" 'term-bol ; "0" is meant to really go at the beginning of line.
|
||||||
"^" 'term-bol
|
"^" 'term-bol
|
||||||
"$" 'term-show-maximum-output))
|
"$" 'term-show-maximum-output)
|
||||||
|
|
||||||
|
;; 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)
|
||||||
|
(evil-collection-define-key 'insert 'term-raw-map
|
||||||
|
(kbd "<M-backspace>") 'term-send-backward-kill-word)))
|
||||||
|
|
||||||
(provide 'evil-collection-term)
|
(provide 'evil-collection-term)
|
||||||
;;; evil-collection-term.el ends here
|
;;; evil-collection-term.el ends here
|
||||||
|
|
Loading…
Reference in New Issue