diff options
author | Grant Shangreaux <grant@unabridgedsoftware.com> | 2023-01-21 15:25:39 -0600 |
---|---|---|
committer | Grant Shangreaux <grant@unabridgedsoftware.com> | 2023-01-21 15:25:49 -0600 |
commit | 26921d37cb6a79d411432cd71ba6520d4dc17e5b (patch) | |
tree | 9210054b63a7506a7b97a465dc536015f82be7d0 | |
parent | 1bdfcf5828d5e12ec7b18dbfaeb3c71a846111a8 (diff) |
Add: show all themes toggle command
-rw-r--r-- | shoshimacs.el | 4 | ||||
-rw-r--r-- | shoshimacs.org | 10 |
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 |