mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feature/evil: update evil-shift-width manually (experimental)
This commit is contained in:
@ -77,6 +77,10 @@ variable for an explanation of the defaults (in comments). See
|
||||
(setq +evil--default-cursor-color (face-background 'cursor)))
|
||||
(add-hook 'doom-load-theme-hook #'+evil|update-cursor-color)
|
||||
|
||||
(defun +evil|update-shift-width ()
|
||||
(setq evil-shift-width tab-width))
|
||||
(add-hook 'after-change-major-mode-hook #'+evil|update-shift-width t)
|
||||
|
||||
|
||||
;; --- keybind fixes ----------------------
|
||||
(after! wgrep
|
||||
|
Reference in New Issue
Block a user