From 7ad387619dcc0d236a1e4d27098df8b2ead42e79 Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Sat, 10 Apr 2021 19:15:11 +1000 Subject: [PATCH] Fix vterm popup rule akermu/emacs-libvterm@c2c2c8afb935c11778388721912250cd1103aaf9 changed the default buffer name of vterm buffers, so Doom's popup-rule no longer matches them. This causes functions like `+vterm/here` to use the entire frame instead of creating a popup window. Fix it by changing the popup rule to match the new naming scheme. --- modules/term/vterm/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/term/vterm/config.el b/modules/term/vterm/config.el index d82706cc1..bd97af837 100644 --- a/modules/term/vterm/config.el +++ b/modules/term/vterm/config.el @@ -6,7 +6,7 @@ :hook (vterm-mode . doom-mark-buffer-as-real-h) :hook (vterm-mode . hide-mode-line-mode) ; modeline serves no purpose in vterm :config - (set-popup-rule! "^vterm" :size 0.25 :vslot -4 :select t :quit nil :ttl 0) + (set-popup-rule! "^\\*vterm" :size 0.25 :vslot -4 :select t :quit nil :ttl 0) ;; Once vterm is dead, the vterm buffer is useless. Why keep it around? We can ;; spawn another if want one.