]> jturnerusa.dev Git - emacs.d/commitdiff
updated filter groups
authorJohn Turner <jturner.usa@gmail.com>
Wed, 5 Oct 2022 02:43:35 +0000 (22:43 -0400)
committerJohn Turner <jturner.usa@gmail.com>
Wed, 5 Oct 2022 02:43:35 +0000 (22:43 -0400)
We changed the filter groups labels to start with a capital to keep
the style consistent with the Default group. We also added a new Man
filter group and a condition in the "Misc" group to exclude man pages.

config/ibuffer/config-ibuffer-filter-groups.el

index 89f60e35c43cd90cc7bce4e5533b1ffaec301445..6f9c8d2074b1192066f81c589f9ec8242686a0b1 100644 (file)
@@ -1,7 +1,9 @@
 (setq ibuffer-saved-filter-groups
       '(("default"
-         ("misc" (name . "^\\*.*$"))
-         ("dired" (mode . dired-mode)))))
+         ("Misc" (and (name . "^\\*.*$")
+                      (not (mode . Man-mode))))
+         ("Dired" (mode . dired-mode))
+         ("Man" (mode . Man-mode)))))
 
 (add-hook 'ibuffer-mode-hook (lambda () (ibuffer-switch-to-saved-filter-groups "default")))