ui/popup: refactor default rules

The vslots don't have to be so far from 0. Also makes compilation popups
bigger.
This commit is contained in:
Henrik Lissner 2018-09-28 21:13:52 -04:00
parent d9fb1c5ca6
commit ccb04c43da
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -137,15 +137,15 @@ prevent the popup(s) from messing up the UI (or vice versa)."
("^\\*Completions" ("^\\*Completions"
:slot -1 :vslot -2 :ttl 0) :slot -1 :vslot -2 :ttl 0)
("^\\*Compil\\(?:ation\\|e-Log\\)" ("^\\*Compil\\(?:ation\\|e-Log\\)"
:size 0.3 :ttl 0 :quit t) :vslot -2 :size 0.3 :ttl 0 :quit t)
("^\\*\\(?:scratch\\|Messages\\)" ("^\\*\\(?:scratch\\|Messages\\)"
:autosave t :ttl nil) :autosave t :ttl nil)
("^\\*Man " ("^\\*Man "
:size 0.45 :vslot -6 :ttl 0 :quit t :select t) :size 0.45 :vslot -3 :ttl 0 :quit t :select t)
("^\\*doom \\(?:term\\|eshell\\)" ("^\\*doom \\(?:term\\|eshell\\)"
:size 0.25 :vslot -10 :select t :quit nil :ttl 0) :size 0.25 :vslot -4 :select t :quit nil :ttl 0)
("^\\*doom:" ("^\\*doom:"
:vslot -20 :size 0.35 :size bottom :autosave t :select t :modeline t :quit nil) :vslot -5 :size 0.35 :size bottom :autosave t :select t :modeline t :quit nil)
("^\\*\\(?:\\(?:Pp E\\|doom e\\)val\\)" ("^\\*\\(?:\\(?:Pp E\\|doom e\\)val\\)"
:size +popup-shrink-to-fit :ttl 0 :select ignore) :size +popup-shrink-to-fit :ttl 0 :select ignore)
("^\\*Customize" ("^\\*Customize"
@ -154,10 +154,10 @@ prevent the popup(s) from messing up the UI (or vice versa)."
:slot 2 :side left :size 20 :select t :quit t) :slot 2 :side left :size 20 :select t :quit t)
;; `help-mode', `helpful-mode' ;; `help-mode', `helpful-mode'
("^\\*[Hh]elp" ("^\\*[Hh]elp"
:slot 2 :vslot 2 :size 0.35 :select t) :slot 2 :vslot -2 :size 0.35 :select t)
;; `eww' (and used by dash docsets) ;; `eww' (and used by dash docsets)
("^\\*eww\\*" ("^\\*eww\\*"
:vslot 50 :size 0.35 :select t) :vslot -11 :size 0.35 :select t)
;; `Info-mode' ;; `Info-mode'
("^\\*info\\*$" ("^\\*info\\*$"
:slot 2 :vslot 2 :size 0.45 :select t))) :slot 2 :vslot 2 :size 0.45 :select t)))