From 581517465c867f86d434cf992f3a8059a3f4cd02 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 12 Feb 2020 14:24:14 -0500 Subject: [PATCH] Ensure that eshell keybindings work --- emacs/init.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index 66f97ab..3fca2e6 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2183,8 +2183,8 @@ A function to properly clear the eshell: (eshell-emit-prompt) (insert input))) - (with-eval-after-load 'eshell - (general-def eshell-mode-map "C-c C-o" #'clear-eshell)) + (add-hook 'eshell-mode-hook + (lambda () (general-def eshell-mode-map "C-c C-o" #'clear-eshell))) #+END_SRC Some aliases: