all repos — nixfiles @ ab0e8c29b11cb35e164ff3be5eb50fee74a92644

System and user configuration, managed by nix and home-manager

Emacs: Fix init errors in eshell configuration
Alan Pearce alan@alanpearce.eu
Wed, 04 Dec 2019 19:12:47 +0100
commit

ab0e8c29b11cb35e164ff3be5eb50fee74a92644

parent

7328eaf348e0dc8ca65150de91999abe91d5ef6c

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -280,7 +280,7 @@ :commands (evil-mode evil-delete-buffer evil-ex-define-cmd)   :config (progn
             (setq-default evil-shift-width 2)
             (setq evil-mode-line-format nil)
-            (add-to-list 'evil-emacs-state-modes eshell-mode)
+            (add-to-list 'evil-emacs-state-modes 'eshell-mode)
             (evil-mode +1))
   :general
   (:states 'motion
@@ -562,7 +562,7 @@ (use-package eshell-toggle
   :after projectile
   :commands (eshell-toggle)
-  :bind ("C-`" . eshell-toggle)
+  :general ("C-`" . eshell-toggle)
   :config (setq eshell-toggle-use-projectile-root t))
 
 (use-package esh-autosuggest