diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/km-ibuffer.el | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/init/km-ibuffer.el b/init/km-ibuffer.el index 9481f22..cc86ab6 100644 --- a/init/km-ibuffer.el +++ b/init/km-ibuffer.el @@ -6,38 +6,40 @@ (setq ibuffer-saved-filter-groups '(("home" - ("emacs-config" (or (filename . ".emacs.d") - (filename . ".el"))) + ("elisp" (mode . emacs-lisp-mode)) ("org" (or (mode . org-mode) - (name . "^\\*Org Agenda") + (name . "^\\*Org Agenda\\*$") (name . "^\\*Calendar\\*$"))) ("web" (or (mode . html-mode) (mode . nxml-mode) (mode . css-mode))) ("r" (or (mode . ess-mode) - (name . "^\\*R\\*$"))) + (mode . inferior-ess-mode) + (name . "^\\*ESS\\*$"))) ("markup" (or (mode . markdown-mode) (mode . rst-mode))) - ("lua" (name . ".lua$")) - ("perl" (name . ".pl$")) - ("python" (or (mode . python-mode) - (name . ".py$"))) - ("git" (name . "\*git")) - ("text" (name . ".txt")) - ("shell" (or (name . ".sh$") - (name . ".zsh$"))) + ("lua" (mode . lua-mode)) + ("perl" (mode . perl-mode)) + ("python" (mode . python-mode)) + ("haskell" (mode . haskell-mode)) + ("text" (mode . text-mode)) + ("shell" (mode . sh-mode)) ("latex" (or (mode . latex-mode) (mode . LaTeX-mode) (mode . bibtex-mode) (mode . reftex-mode))) - ("dirs" (or (mode . dired-mode) - (name . "^\\*tramp"))) - ("terminal" (name . "^\\*ansi-term\\*$")) - ("magit" (or (name . "^\\*magit"))) - ("help" (or (name . "\*Help\*") - (name . "\*Apropos\*") - (name . "\*info\*") - (name . "^\\*Completions\\*$")))))) + ("dir" (or (mode . dired-mode) + (name . "^\\*tramp"))) + ("terminal" (mode . term-mode)) + ("packages" (or (name . "^\\*Compile-Log\\*") + (name . "^\\*Packages\\*"))) + ("magit" (name . "^\\*magit")) + ("emacs" (or (name . "^\\*scratch\\*$") + (name . "^\\*Messages\\*$"))) + ("help" (or (name . "^\\*Help\\*$") + (name . "^\\*Apropos\\*$") + (name . "^\\*info\\*%") + (name . "^\\*Completions\\*")))))) (add-hook 'ibuffer-mode-hook '(lambda () |