From 66a628a5996a813f867e8ca5c0a7d71baf52ee54 Mon Sep 17 00:00:00 2001 From: Eivind Fonn Date: Tue, 14 Jun 2016 20:03:31 +0200 Subject: [PATCH] shell: auto-jump to end also in hybrid --- layers/+tools/shell/packages.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layers/+tools/shell/packages.el b/layers/+tools/shell/packages.el index 1b54f6581..8bc8360ab 100644 --- a/layers/+tools/shell/packages.el +++ b/layers/+tools/shell/packages.el @@ -121,6 +121,8 @@ is achieved by adding the relevant text properties." ;; Idea: maybe we could make auto-jump smarter and jump only if ;; point is not on a prompt line (add-hook 'evil-insert-state-entry-hook + 'spacemacs//eshell-auto-end nil t) + (add-hook 'evil-hybrid-state-entry-hook 'spacemacs//eshell-auto-end nil t)) (when (configuration-layer/package-usedp 'semantic) (semantic-mode -1))