Set buffer grouping rules for ibuffer
This commit is contained in:
parent
858067cece
commit
9a7d6d1378
10
init.el
10
init.el
@ -73,7 +73,7 @@
|
|||||||
c-default-style "bsd"
|
c-default-style "bsd"
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Disable some unnecessary byte-compiler warnings.
|
;; Disable some unnecessary byte compilation warnings.
|
||||||
(setq byte-compile-warnings '(not
|
(setq byte-compile-warnings '(not
|
||||||
free-vars
|
free-vars
|
||||||
unresolved
|
unresolved
|
||||||
@ -81,6 +81,14 @@
|
|||||||
lexical
|
lexical
|
||||||
make-local))
|
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.
|
;; Temporarily disable file handler checking during startup to save time.
|
||||||
(defvar temp--file-name-handler-alist file-name-handler-alist)
|
(defvar temp--file-name-handler-alist file-name-handler-alist)
|
||||||
(setq file-name-handler-alist nil)
|
(setq file-name-handler-alist nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user