mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
Refactor + rearrange popup rules
This commit is contained in:
@@ -90,7 +90,7 @@ session)."
|
||||
(setq counsel-find-file-ignore-regexp "\\(?:^[#.]\\)\\|\\(?:[#~]$\\)\\|\\(?:^Icon?\\)")
|
||||
|
||||
;; Configure `counsel-rg', `counsel-ag' & `counsel-pt'
|
||||
(set! :popup "^\\*ivy-occur counsel-[arp]g" :size (+ 2 ivy-height) :regexp t :autokill t)
|
||||
(set! :popup 'ivy-occur-grep-mode :size (+ 2 ivy-height) :regexp t :autokill t)
|
||||
|
||||
(dolist (cmd '(counsel-ag counsel-rg counsel-pt))
|
||||
(ivy-add-actions
|
||||
|
@@ -92,7 +92,10 @@ invokes the repl. Takes the same arguements as `rtog/add-repl'."
|
||||
(add-hook! 'quickrun--mode-hook (linum-mode +1))
|
||||
|
||||
:config
|
||||
(set! :popup "*quickrun*" :size 10 :noesc t :autokill t :autoclose t)
|
||||
(set! :popup
|
||||
'("*quickrun*" :size 10 :noesc t :autokill t :autoclose t)
|
||||
'("*eval*" :size 12 :noselect t :autokill t :autoclose t)
|
||||
'("*Pp Eval Output*" :size 12 :noselect t :autokill t :autoclose t))
|
||||
|
||||
(defun +eval*quickrun-auto-close (&rest _)
|
||||
"Allows us to silently re-run quickrun from within the quickrun buffer."
|
||||
|
Reference in New Issue
Block a user