diff options
author | Case Duckworth | 2021-10-09 16:22:36 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-09 16:22:36 -0500 |
commit | e34e2df1372caa6d8f6bdd89de5403d82a36d220 (patch) | |
tree | 32bad78820840b6d5353c4a4bfcff28c16c20513 | |
parent | Configure elfeed (diff) | |
download | emacs-e34e2df1372caa6d8f6bdd89de5403d82a36d220.tar.gz emacs-e34e2df1372caa6d8f6bdd89de5403d82a36d220.zip |
Install popper
-rw-r--r-- | init.el | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/init.el b/init.el index 6b011c1..3a94f66 100644 --- a/init.el +++ b/init.el | |||
@@ -1717,19 +1717,10 @@ See also `crux-reopen-as-root-mode'." | |||
1717 | 1717 | ||
1718 | (setup (:straight helpful) | 1718 | (setup (:straight helpful) |
1719 | (:require-after 3) | 1719 | (:require-after 3) |
1720 | |||
1721 | (defvar helpful-pre-windows nil | ||
1722 | "Window configuration /before/ helpful was called.") | ||
1723 | |||
1724 | (:option helpful-switch-buffer-function #'pop-to-buffer) | ||
1725 | |||
1726 | (:global "<help> f" #'helpful-callable | 1720 | (:global "<help> f" #'helpful-callable |
1727 | "<help> v" #'helpful-variable | 1721 | "<help> v" #'helpful-variable |
1728 | "<help> k" #'helpful-key | 1722 | "<help> k" #'helpful-key |
1729 | "<help> o" #'helpful-symbol) | 1723 | "<help> o" #'helpful-symbol)) |
1730 | |||
1731 | ;; (:bind "q" #'quit-window) | ||
1732 | ) | ||
1733 | 1724 | ||
1734 | (setup (:straight hungry-delete) | 1725 | (setup (:straight hungry-delete) |
1735 | (:option hungry-delete-chars-to-skip " \t" | 1726 | (:option hungry-delete-chars-to-skip " \t" |
@@ -2303,6 +2294,18 @@ the default is \"/\"." | |||
2303 | (:file-match (rx ".pdf" eos)) | 2294 | (:file-match (rx ".pdf" eos)) |
2304 | (pdf-loader-install)) | 2295 | (pdf-loader-install)) |
2305 | 2296 | ||
2297 | (setup (:straight popper) | ||
2298 | (:option popper-reference-buffers | ||
2299 | `(,(rx "*Messages*") | ||
2300 | ,(rx "Output*" eol) | ||
2301 | ,(rx "*Async Shell Command*") | ||
2302 | help-mode helpful-mode | ||
2303 | compilation-mode)) | ||
2304 | (:global "M-`" #'popper-toggle-latest | ||
2305 | "C-`" #'popper-cycle) | ||
2306 | (popper-mode +1) | ||
2307 | (popper-echo-mode +1)) | ||
2308 | |||
2306 | ;; (setup (:straight persistent-scratch) | 2309 | ;; (setup (:straight persistent-scratch) |
2307 | ;; (:option persistent-scratch-backup-directory (acdw/dir "scratch" t) | 2310 | ;; (:option persistent-scratch-backup-directory (acdw/dir "scratch" t) |
2308 | ;; persistent-scratch-keep-n-newest-backups 12 | 2311 | ;; persistent-scratch-keep-n-newest-backups 12 |