1

Set buffer grouping rules for ibuffer

This commit is contained in:
Jessie Hildebrandt 2019-10-27 15:21:17 -04:00
parent 858067cece
commit 9a7d6d1378

10
init.el
View File

@ -73,7 +73,7 @@
c-default-style "bsd"
)
;; Disable some unnecessary byte-compiler warnings.
;; Disable some unnecessary byte compilation warnings.
(setq byte-compile-warnings '(not
free-vars
unresolved
@ -81,6 +81,14 @@
lexical
make-local))
;; Set default buffer grouping in ibuffer
(setq ibuffer-saved-filter-groups
(quote (("default"
("Emacs" (or
(name . "^\\*.*\\*$")
(name . "^magit.*:.*$")))))))
(add-hook 'ibuffer-mode-hook (lambda () (ibuffer-switch-to-saved-filter-groups "default")))
;; Temporarily disable file handler checking during startup to save time.
(defvar temp--file-name-handler-alist file-name-handler-alist)
(setq file-name-handler-alist nil)