Add commands for using bin/doom from inside Emacs

This is experimental. I'd eventually like users to be able to management
Doom from inside Emacs, if they desire. This may be the only way to have
a decent user experience on Windows, for that matter.

Also adds a popup rule for it.
This commit is contained in:
Henrik Lissner 2018-09-27 23:05:04 -04:00
parent 078e3028a6
commit 4ea4754162
3 changed files with 69 additions and 22 deletions

View file

@ -132,7 +132,9 @@ prevent the popup(s) from messing up the UI (or vice versa)."
'(("^\\*" :slot 1 :vslot -1 :select t)
("^ \\*" :slot 1 :vslot -1 :size +popup-shrink-to-fit)))
(when (featurep! +defaults)
'(("^\\*Completions"
'(("^\\*bin/doom\\*$"
:vslot 9999 :size 0.75 :quit 'current :select t :ttl 0)
("^\\*Completions"
:slot -1 :vslot -2 :ttl 0)
("^\\*Compil\\(?:ation\\|e-Log\\)"
:size 0.3 :ttl 0 :quit t)