mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Move point to eshell prompt when switching to insert mode
This advice was broken (and superseded) by changes upstream in evil-collection-eshell.
This commit is contained in:
@ -118,10 +118,6 @@ You should use `set-eshell-alias!' to change this.")
|
|||||||
(append eshell-command-aliases-list
|
(append eshell-command-aliases-list
|
||||||
+eshell-aliases))))
|
+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
|
(add-hook! 'eshell-first-time-mode-hook
|
||||||
(defun +eshell-init-keymap-h ()
|
(defun +eshell-init-keymap-h ()
|
||||||
;; Keys must be bound in a hook because eshell resets its keymap every
|
;; Keys must be bound in a hook because eshell resets its keymap every
|
||||||
|
Reference in New Issue
Block a user