From 602769dc8ccf163cd558ca29dd19c11ea0767ab9 Mon Sep 17 00:00:00 2001 From: John Turner Date: Tue, 4 Oct 2022 22:43:35 -0400 Subject: [PATCH] updated filter groups 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/ibuffer/config-ibuffer-filter-groups.el b/config/ibuffer/config-ibuffer-filter-groups.el index 89f60e3..6f9c8d2 100644 --- a/config/ibuffer/config-ibuffer-filter-groups.el +++ b/config/ibuffer/config-ibuffer-filter-groups.el @@ -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")))