core-popups: attach popup hacks to window-setup-hook (fix #29)
This commit is contained in:
parent
ccabb9f6ee
commit
2a9a1ef186
1 changed files with 156 additions and 155 deletions
|
@ -212,6 +212,7 @@ properties."
|
|||
;; Hacks
|
||||
;;
|
||||
|
||||
(add-hook! 'window-setup-hook
|
||||
(after! evil
|
||||
(let ((map doom-popup-mode-map))
|
||||
(define-key map [remap evil-window-delete] 'doom/popup-close)
|
||||
|
@ -341,7 +342,7 @@ the command buffer."
|
|||
(advice-add 'evil-window-move-far-right :around 'doom*popups-save-neotree))
|
||||
|
||||
|
||||
(add-hook! org-load
|
||||
(add-hook! 'org-load-hook
|
||||
(set! :popup
|
||||
'("*Calendar*" :size 0.4 :noselect t)
|
||||
'(" *Org todo*" :size 5 :noselect t)
|
||||
|
@ -393,7 +394,7 @@ the command buffer."
|
|||
|
||||
(after! repl-toggle
|
||||
(add-hook! doom-popup-close
|
||||
(setq rtog/--last-buffer nil)))
|
||||
(setq rtog/--last-buffer nil))))
|
||||
|
||||
(provide 'core-popups)
|
||||
;;; core-popups.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue