summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ibuffer.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/ibuffer.el b/ibuffer.el
index 42c1480..60617cd 100644
--- a/ibuffer.el
+++ b/ibuffer.el
@@ -343,6 +343,8 @@ derived modes of `ibuffer-mode'.")))
found))
((derived-mode-p 'bongo-playlist-mode 'bongo-library-mode)))))
+;;; For directory
+
;;;###autoload
(define-ibuffer-filter durand-directory
"Limit current view to buffers with directory a subdirectory of \
@@ -368,6 +370,9 @@ value of `default-directory' in that buffer."
(interactive)
(setq ibuffer-filter-groups
(list (cons "Bongo" '((durand-bongo)))
+ (cons "RS" '((or
+ (mode . rustic-mode)
+ (mode . rust-mode))))
(cons "C" '((mode . c-mode)))
(cons "ELisp" '((mode . emacs-lisp-mode)))
(cons "EWW" '((mode . eww-mode)))