reddit / emacs

Would like ibuffer-switch-to-saved-filter-groups to load when calling ibuffer key chord

kourie · 2022-07-20 16:46
Instead of regular ibuffer layout. The default would be the layout of ...filter-groups ... to show immediately. Is that possible?
ieure · 2022-07-20 17:14
(add-hook 'ibuffer-hook (lambda () (ibuffer-switch-to-saved-filter-groups "mode")))
kourie · 2022-07-20 17:25
No go ! I seem to have read is is not builtin filter... Thanks anyway!
ieure · 2022-07-20 17:37
Change `"mode"` to whatever saved filter group you want to have displayed when you pull ibuffer up. I've been using this code for ages.
Danrobi1 · 2022-07-21 04:27
Thanks for sharing.