diff options
Diffstat (limited to 'modes/comint')
| -rw-r--r-- | modes/comint/evil-collection-comint.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modes/comint/evil-collection-comint.el b/modes/comint/evil-collection-comint.el index da15907..2838a8b 100644 --- a/modes/comint/evil-collection-comint.el +++ b/modes/comint/evil-collection-comint.el @@ -50,6 +50,11 @@ (kbd "C-p") #'comint-previous-input (kbd "C-n") #'comint-next-input) + ;; TODO: What if the user changes `evil-want-C-u-delete' after this is run? + (when evil-want-C-u-delete + (evil-collection-define-key 'insert 'comint-mode-map + (kbd "C-u") #'comint-kill-input)) + (evil-collection-define-key 'insert 'comint-mode-map (kbd "<up>") #'comint-previous-input (kbd "<down>") #'comint-next-input)) |
