core-editor: reset expand-region on doom/escape #317
This commit is contained in:
parent
b0a2e97baa
commit
03a03853e4
1 changed files with 2 additions and 1 deletions
|
@ -213,7 +213,8 @@ extension, try to guess one."
|
|||
(defun doom*quit-expand-region ()
|
||||
(when (memq last-command '(er/expand-region er/contract-region))
|
||||
(er/contract-region 0)))
|
||||
(advice-add #'evil-escape :before #'doom*quit-expand-region))
|
||||
(advice-add #'evil-escape :before #'doom*quit-expand-region)
|
||||
(advice-add #'doom/escape :before #'doom*quit-expand-region))
|
||||
|
||||
(def-package! helpful
|
||||
:commands (helpful-callable helpful-function helpful-macro helpful-command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue