General tweaks

This commit is contained in:
Henrik Lissner 2017-03-19 22:50:52 -04:00
parent 3d30844070
commit db7cf68775
8 changed files with 24 additions and 21 deletions

View file

@ -86,8 +86,8 @@
(evil-ex-nohighlight)))
(advice-add 'evil-force-normal-state :after '+evil*esc)
;; Don't move cursor on indent
(defun +evil*static-reindent (orig-fn &rest args)
"Don't move cursor on indent."
(save-excursion (apply orig-fn args)))
(advice-add 'evil-indent :around '+evil*static-reindent)