diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2018-11-30 10:38:06 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2018-11-30 10:38:06 +0100 |
| commit | 808319f407067b5eb26f4300b55544773a253b82 (patch) | |
| tree | b21e290153bf3cca5fcd50677d41a6d2d09f9188 | |
| parent | c5b15b13a2ae3ea27e029097bc527eb910566140 (diff) | |
| download | dotfiles-808319f407067b5eb26f4300b55544773a253b82.tar.xz | |
Add ibuffer grouping configuration
| -rw-r--r-- | .emacs | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -191,6 +191,23 @@ (add-hook 'dired-mode-hook 'diff-hl-dired-mode-unless-remote) +(add-to-list 'ibuffer-saved-filter-groups + '("my/ibuffer-groups" + ("REPL" + (or (derived-mode . comint-mode) + (mode . lisp-interaction-mode))) + ("Programming" (derived-mode . prog-mode)) + ("Folders" (mode . dired-mode)) + ("Chat" (mode . erc-mode)) + ("Documentation" + (or (mode . Info-mode) + (mode . Man-mode) + (mode . help-mode))))) + +(add-hook 'ibuffer-mode-hook + (lambda () + (ibuffer-switch-to-saved-filter-groups "my/ibuffer-groups"))) + ;; Helper functions and miscellaneous settings. |
