Adjust ibuffer groupings
authorJoerg Jaspert <joerg.jaspert@dlh.de>
Tue, 23 Feb 2016 12:35:39 +0000 (13:35 +0100)
committerJoerg Jaspert <joerg.jaspert@dlh.de>
Tue, 23 Feb 2016 12:35:39 +0000 (13:35 +0100)
.emacs.d/config/emacs.org

index 8ebeb65..5827879 100644 (file)
@@ -2546,6 +2546,7 @@ _l_ linum-mode:         % 4`linum-mode     _k_ linum relative:    %`linum-format
                               (name . "^\\*Backtrace\\*$")
                               (name . "^\\*Packages*\\*$")
                               (name . "^\\*Help*\\*$")
+                              (mode . grep-mode)
                               ))
                     ("gnus"  (or
                               (mode . message-mode)
@@ -2556,10 +2557,38 @@ _l_ linum-mode:         % 4`linum-mode     _k_ linum relative:    %`linum-format
                               (mode . gnus-article-mode)
                               (name . "^\\.bbdb$")
                               (name . "^\\.newsrc-dribble")))
+                    ("org agenda" (or
+                                   (mode . org-agenda-mode)
+                                   (name . "^*Org Agenda")))
                     ("org"   (or
                               (filename . ".*/org/.*")
-                              (mode . org-agenda-mode)
+                              ;(mode . org-agenda-mode)
                               (name . "^diary$")))
+                    ("scm" (or
+                            (mode . magit-status-mode)
+                            (mode . magit-log-mode)
+                            (mode . magit-diff-mode)
+                            (mode . magit-refs-mode)
+                            (mode . magit-revision-mode)
+                            (mode . vc-annotate-mode)))
+                    ("Tramp" (or
+                              (name . "^\\*\\(tramp/.*\\)\\*$")))
+                    ("code" (or
+                             (mode . emacs-lisp-mode)
+                             (mode . python-mode)
+                             (mode . ruby-mode)
+                             (mode . coffee-mode)
+                             (mode . js-mode)
+                             (mode . js2-mode)
+                             (mode . actionscript-mode)
+                             (mode . java-mode)
+                             (mode . sh-mode)
+                             (mode . haskell-mode)
+                             (mode . html-mode)
+                             (mode . web-mode)
+                             (mode . haml-mode)
+                             (mode . nxml-mode)
+                             (mode . css-mode)))
                     ("other" (or
                               (mode . magit-log-edit-mode)
                               (name . "^\\*magit-\\(process\\|commit\\)\\*$"))))
@@ -2616,6 +2645,8 @@ _l_ linum-mode:         % 4`linum-mode     _k_ linum relative:    %`linum-format
                              (mode . help-mode)
                              (mode . Man-mode)
                              (name . "^\\*Personal Keybindings\\*$")))
+                    ("Tramp" (or
+                              (name . "^\\*\\(tramp/.*\\)\\*$")))
                     ;; -------------------------------------------------
                     ;; *buffer* buffers
                     ("MORE" (or (mode . magit-log-edit-mode)