General tweaks
This commit is contained in:
parent
3d30844070
commit
db7cf68775
8 changed files with 24 additions and 21 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue