From d93b789ef5a56906d4383872a047d733d10b5875 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 5 Jun 2020 13:08:01 -0400 Subject: [PATCH] Move point to eshell prompt when switching to insert mode This advice was broken (and superseded) by changes upstream in evil-collection-eshell. --- modules/term/eshell/config.el | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/term/eshell/config.el b/modules/term/eshell/config.el index ca79f20dc..5a4f9bcfd 100644 --- a/modules/term/eshell/config.el +++ b/modules/term/eshell/config.el @@ -118,10 +118,6 @@ You should use `set-eshell-alias!' to change this.") (append eshell-command-aliases-list +eshell-aliases)))) - (when (featurep! :editor evil +everywhere) - (advice-add #'evil-collection-eshell-next-prompt-on-insert - :override #'+eshell-goto-prompt-on-insert-a)) - (add-hook! 'eshell-first-time-mode-hook (defun +eshell-init-keymap-h () ;; Keys must be bound in a hook because eshell resets its keymap every