Commits

Fuco  committed cb7151d

Updated predicates to filter non-config elisp to elisp category, added gfm as markdown

  • Participants
  • Parent commits d9fab1c

Comments (0)

Files changed (1)

File files/ibuffer.el

                ("Org" ;; all org-related buffers
                 (mode . org-mode))
                ("emacs-config"
-                (or (filename . ".emacs.d")))
+                (or (predicate
+                     .
+                     (let ((bfn (buffer-file-name (current-buffer))))
+                       (when bfn
+                         (and (string-match-p "\\.emacs\\.d" bfn)
+                              (eq major-mode 'emacs-lisp-mode)))))))
                ("emacs"
                 (or (mode . emacs-lisp-mode)
                     (mode . lisp-interaction-mode)
                 (or (mode . tex-mode)
                     (mode . plain-tex-mode)
                     (mode . latex-mode)))
+               ("Markdown" (or (mode . markdown-mode)
+                               (mode . gfm-mode)))
                ("Web"
                 (or (mode . html-mode)
                     (mode . css-mode)