From 26921d37cb6a79d411432cd71ba6520d4dc17e5b Mon Sep 17 00:00:00 2001 From: Grant Shangreaux Date: Sat, 21 Jan 2023 15:25:39 -0600 Subject: Add: show all themes toggle command --- shoshimacs.el | 4 ++++ shoshimacs.org | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/shoshimacs.el b/shoshimacs.el index 452f914..ecc6417 100644 --- a/shoshimacs.el +++ b/shoshimacs.el @@ -107,6 +107,10 @@ (consult-customize consult-theme :preview-key '(:debounce 0.5 any)) (setq consult-themes my-chosen-themes)) +(defun my-show-all-themes () + (interactive) + (setq consult-themes nil)) + (package-install 'embark) (package-install 'embark-consult) (global-set-key (kbd "C-;") #'embark-act) diff --git a/shoshimacs.org b/shoshimacs.org index 2950290..fe1b1f0 100644 --- a/shoshimacs.org +++ b/shoshimacs.org @@ -470,6 +470,16 @@ changing with every keypress. (setq consult-themes my-chosen-themes)) #+end_src +I set a special list of ~my-chosen-themes~ but sometimes I want to turn it +off. Its nice to have a filtered list most times, but sometimes I just want +all of them in the ~consult-themes~ list. + +#+begin_src emacs-lisp + (defun my-show-all-themes () + (interactive) + (setq consult-themes nil)) +#+end_src + *** TODO consult-project-buffer how do project buffers get filtered? i'm seeing buffers assigned to a project -- cgit v1.2.3