feature/evil: update evil-shift-width manually (experimental)
This commit is contained in:
parent
4978a64678
commit
d5934ec8f7
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue