Skip to content

Commit

Permalink
refactor: popper-mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Oct 13, 2023
1 parent 20144b4 commit dbfb2cd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lisp/init-window.el
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,17 @@

;; Enforce rules for popups
(use-package popper
:defines popper-echo-dispatch-actions
:autoload popper-group-by-directory
:diminish (popper-mode popper-echo-mode)
:functions popper-echo-mode
:custom
(popper-group-function #'popper-group-by-directory)
(popper-echo-dispatch-actions t)
:bind (:map popper-mode-map
("C-h z" . popper-toggle-latest)
("C-h z" . popper-toggle)
("C-<tab>" . popper-cycle)
("C-M-<tab>" . popper-toggle-type))
:hook (emacs-startup . popper-mode)
:init
(setq popper-group-function #'popper-group-by-directory)
(setq popper-reference-buffers
'("\\*Messages\\*"
"Output\\*$" "\\*Pp Eval Output\\*$"
Expand Down Expand Up @@ -220,8 +222,6 @@
(format " %s "
(nerd-icons-octicon "nf-oct-pin" :face face))
(propertize " POP" 'face face))))))

(setq popper-echo-dispatch-actions t)
:config
(popper-echo-mode 1)

Expand Down

0 comments on commit dbfb2cd

Please sign in to comment.