From 36b4ccd91a2de1d27c877cc0c5ec2d4871b878dc Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 2 Aug 2019 15:09:38 -0700 Subject: [emacs] update grouping in ibuffer review the grouping order (org first, for example, and group a few more file extensions together). --- emacs.d/custom/fcuny-navigation.el | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/emacs.d/custom/fcuny-navigation.el b/emacs.d/custom/fcuny-navigation.el index 0766155..56dd003 100644 --- a/emacs.d/custom/fcuny-navigation.el +++ b/emacs.d/custom/fcuny-navigation.el @@ -56,10 +56,20 @@ :custom (ibuffer-saved-filter-groups (quote (("default" + ("org" (mode . org-mode)) ("go" (mode . go-mode)) ("python" (mode . python-mode)) - ("yaml" (mode . yaml-mode)) - ("org" (mode . org-mode)) + ("config" (or + (name . "\\.conf$") + (name . "\\.json$") + (mode . yaml-mode))) + ("puppet" (or + (mode . "\\.erb$") + (mode . puppet-mode))) + ("scripts" (mode . sh-mode)) + ("documentation" (or + (mode . markdown-mode) + (mode . rst-mode))) ("dired" (mode . dired-mode)) ("Emacs" (or (mode . emacs-lisp-mode) -- cgit 1.4.1