Eshell interrupt with C-c
This commit is contained in:
parent
2ea7923b20
commit
2aefe688ad
@ -169,11 +169,13 @@ This is taken from a website that I can't remember at the moment."
|
|||||||
(general-define-key
|
(general-define-key
|
||||||
:states 'normal
|
:states 'normal
|
||||||
:keymaps 'eshell-mode-map
|
:keymaps 'eshell-mode-map
|
||||||
"I" 'eshell-evil-insert-line)
|
"I" 'eshell-evil-insert-line
|
||||||
|
"C-c" 'evil-collection-eshell-interrupt-process)
|
||||||
(general-define-key
|
(general-define-key
|
||||||
:states 'insert
|
:states 'insert
|
||||||
:keymaps 'eshell-mode-map
|
:keymaps 'eshell-mode-map
|
||||||
"C-L" 'aweshell-sudo-toggle))
|
"C-L" 'aweshell-sudo-toggle
|
||||||
|
"C-c" 'eshell-interrupt-process))
|
||||||
(use-package eshell-vterm
|
(use-package eshell-vterm
|
||||||
:after eshell
|
:after eshell
|
||||||
:custom (eshell-destroy-buffer-when-process-dies t)
|
:custom (eshell-destroy-buffer-when-process-dies t)
|
||||||
|
Loading…
Reference in New Issue
Block a user