aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Shangreaux <grant@unabridgedsoftware.com>2023-01-21 15:25:39 -0600
committerGrant Shangreaux <grant@unabridgedsoftware.com>2023-01-21 15:25:49 -0600
commit26921d37cb6a79d411432cd71ba6520d4dc17e5b (patch)
tree9210054b63a7506a7b97a465dc536015f82be7d0
parent1bdfcf5828d5e12ec7b18dbfaeb3c71a846111a8 (diff)
Add: show all themes toggle command
-rw-r--r--shoshimacs.el4
-rw-r--r--shoshimacs.org10
2 files changed, 14 insertions, 0 deletions
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