all repos — nixfiles @ e43c291539db905991866556c91acc165bec132b

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

Emacs: Fix evil shifting
Alan Pearce alan@alanpearce.eu
Mon, 02 Dec 2019 14:40:59 +0100
commit

e43c291539db905991866556c91acc165bec132b

parent

c226c63ddab56a20684062bb020cd64f774f63d3

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

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -277,8 +277,8 @@ (use-package evil   :demand t
   :commands (evil-mode evil-delete-buffer evil-ex-define-cmd)
   :config (progn
-            (setq evil-shift-width 2
-                  evil-mode-line-format nil)
+            (setq-default evil-shift-width 2)
+            (setq evil-mode-line-format nil)
             (evil-mode +1))
   :general
   (:states 'motion