feature/evil: don't revert to initial state on window switch

The issue this "fixes" wasn't really an issue to begin with.
This commit is contained in:
Henrik Lissner 2018-05-26 19:27:53 +02:00
parent e70b1af49f
commit f9bcd2aff3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 0 additions and 11 deletions

View file

@ -95,8 +95,6 @@
(add-hook 'after-save-hook #'+evil|save-buffer)
;; Make ESC (from normal mode) the universal escaper. See `doom-escape-hook'.
(advice-add #'evil-force-normal-state :after #'doom/escape)
;; Ensure buffer is in initial mode when we leave it and return to it.
(advice-add #'windmove-do-window-select :around #'+evil*restore-initial-state-on-windmove)
;; Don't move cursor when indenting
(advice-add #'evil-indent :around #'+evil*static-reindent)
;; monkey patch `evil-ex-replace-special-filenames' to improve support for