feature/popup: move default org popup rules to config.el

This commit is contained in:
Henrik Lissner
2018-03-24 04:50:28 -04:00
parent efbd3d69cc
commit 15032aaf60
2 changed files with 18 additions and 8 deletions

View File

@@ -166,13 +166,6 @@ the command buffer."
;; `org'
(after! org
(set! :popup "^\\*\\(?:Agenda Com\\|Calendar\\|Org \\(?:Links\\|Export Dispatcher\\|Select\\)\\)"
'((slot . -1) (vslot . -1) (size . +popup-shrink-to-fit))
'((transient . 0)))
(set! :popup "^\\*Org Agenda" '((size . 20)) '((select . t) (transient)))
(set! :popup "^\\*Org Src" '((size . 0.3)) '((quit) (select . t)))
(set! :popup "^CAPTURE.*\\.org$" '((size . 0.2)) '((quit) (select . t)))
;; Org has a scorched-earth window management system I'm not fond of. i.e. it
;; kills all windows and monopolizes the frame. No thanks. We can do better
;; ourselves.