summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-12-04 16:36:59 +0100
committerAlan Pearce2019-12-04 16:36:59 +0100
commit759f7bb9d6f8aa5d96940bbb1d3bd21c59c11bd6 (patch)
treef51bd78711a37b36e54e2b1ba3e4110a24dad07b /user/emacs
parente71c20f90036eaf9319f542a5f2d43b2b7f88a9a (diff)
downloadnixfiles-759f7bb9d6f8aa5d96940bbb1d3bd21c59c11bd6.tar.lz
nixfiles-759f7bb9d6f8aa5d96940bbb1d3bd21c59c11bd6.tar.zst
nixfiles-759f7bb9d6f8aa5d96940bbb1d3bd21c59c11bd6.zip
Emacs: start eshell in insert mode
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index e17fd8a3..88ae78ae 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -279,6 +279,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :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