emacs: popup rule tweaks

This commit is contained in:
Jez Cope 2021-07-30 13:58:47 +01:00
parent 3b1de1bd92
commit cd01b4cb3f
1 changed files with 14 additions and 2 deletions

View File

@ -45,9 +45,21 @@ Theory: alternating left/right, 1st to 4th finger then middle column, home row -
** Popup buffers
Most monitors are wide these days: prefer the right-hand side to the bottom for popups.
#+begin_src emacs-lisp
;; (plist-put! +popup-defaults
;; :side 'right)
(plist-put! +popup-defaults
:size 0.38 ;; golden ratio!
:side 'right)
(set-popup-rules!
'(("^\\*\\([Hh]elp\\|Apropos\\)"
:side right :slot 2 :vslot -8 :size 0.38 :select t)
("^\\*Capture\\*$\\|CAPTURE-.*$"
:side right :size 0.38 :quit nil :select t :autosave ignore)
("^\\*Org Src"
;; :actions (display-buffer-use-some-window)
:side right :size 80
:quit nil :select t :autosave t :modeline t :ttl nil))))
#+end_src
** Encryption