Refactor +evil-esc-hook
This commit is contained in:
parent
5d47be15ef
commit
85751c519b
5 changed files with 36 additions and 37 deletions
|
@ -381,7 +381,8 @@
|
|||
;; Remove highlights on ESC
|
||||
(defun +org|remove-occur-highlights (&rest args)
|
||||
(when (derived-mode-p 'org-mode)
|
||||
(org-remove-occur-highlights)))
|
||||
(org-remove-occur-highlights)
|
||||
t))
|
||||
(add-hook '+evil-esc-hook #'+org|remove-occur-highlights)
|
||||
|
||||
(after! org-bullets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue