all repos — nixfiles @ 759f7bb9d6f8aa5d96940bbb1d3bd21c59c11bd6

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

Emacs: start eshell in insert mode
Alan Pearce alan@alanpearce.eu
Wed, 04 Dec 2019 16:36:59 +0100
commit

759f7bb9d6f8aa5d96940bbb1d3bd21c59c11bd6

parent

e71c20f90036eaf9319f542a5f2d43b2b7f88a9a

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

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -279,6 +279,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)
             (evil-mode +1))
   :general
   (:states 'motion