Eshell interrupt with C-c

This commit is contained in:
MitchMarq42 2022-11-15 17:00:31 -09:00
parent 2ea7923b20
commit 2aefe688ad

View File

@ -169,11 +169,13 @@ This is taken from a website that I can't remember at the moment."
(general-define-key
:states 'normal
:keymaps 'eshell-mode-map
"I" 'eshell-evil-insert-line)
"I" 'eshell-evil-insert-line
"C-c" 'evil-collection-eshell-interrupt-process)
(general-define-key
:states 'insert
:keymaps 'eshell-mode-map
"C-L" 'aweshell-sudo-toggle))
"C-L" 'aweshell-sudo-toggle
"C-c" 'eshell-interrupt-process))
(use-package eshell-vterm
:after eshell
:custom (eshell-destroy-buffer-when-process-dies t)