summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-01-18 15:45:19 +0100
committerAlan Pearce2019-01-18 15:45:19 +0100
commit234ac8b1589a258d0411819a09ec9735f54276e2 (patch)
treecda335981b9d087f23c4ec0fb615baede2220db2
parent61aab3057c573d8793c3e0534f4d93e8de488f47 (diff)
downloadnixfiles-234ac8b1589a258d0411819a09ec9735f54276e2.tar.lz
nixfiles-234ac8b1589a258d0411819a09ec9735f54276e2.tar.zst
nixfiles-234ac8b1589a258d0411819a09ec9735f54276e2.zip
Emacs: Set evil-shift-width correctly
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 294f21b9..3502f2ce 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2348,7 +2348,7 @@ Pass ARG to `comint-delchar-or-maybe-eof'."
   :defines evil-window-map
   :config (progn
             (evil-mode +1)
-            (setq evil-shift-width 2)
+            (setq-default evil-shift-width 2)
             (bind-keys :map evil-normal-state-map
                        (";" . evil-ex))
             (define-key evil-motion-state-map (kbd "C-;") #'evil-avy-goto-line)