summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-08-02 15:09:38 -0700
committerFranck Cuny <fcuny@twitter.com>2019-08-02 15:09:38 -0700
commit36b4ccd91a2de1d27c877cc0c5ec2d4871b878dc (patch)
treef196f3d3ebe3a30f699d1aabab6dc1a6fb25692b
parent[emacs] drop guide key and update ibuffer config (diff)
downloademacs.d-36b4ccd91a2de1d27c877cc0c5ec2d4871b878dc.tar.gz
[emacs] update grouping in ibuffer
review the grouping order (org first, for example, and group a few more file extensions together).
-rw-r--r--emacs.d/custom/fcuny-navigation.el14
1 files 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)