Move wgrep popup config to core-popups
This commit is contained in:
parent
80659f9b00
commit
54383a8dde
2 changed files with 7 additions and 3 deletions
|
@ -468,6 +468,12 @@ that `doom*popup-save' won't break it."
|
|||
(setq twittering-pop-to-buffer-function #'pop-to-buffer))
|
||||
|
||||
|
||||
(after! wgrep
|
||||
;; close the popup after you're done with a wgrep buffer
|
||||
(advice-add #'wgrep-abort-changes :after #'doom/popup-close)
|
||||
(advice-add #'wgrep-finish-edit :after #'doom/popup-close))
|
||||
|
||||
|
||||
(after! xref
|
||||
(defun doom*xref-follow-and-close (orig-fn &rest args)
|
||||
"Jump to the xref on the current line, select its window and close the popup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue