Add ibuffer config

This commit is contained in:
Adam Goldsmith 2015-10-04 16:32:35 -04:00
parent de95b1e393
commit 8ae83c45de

View File

@ -26,7 +26,6 @@
;; keybinds
(global-set-key (kbd "C-z") `recompile)
(global-set-key (kbd "C-S-z") `compile)
(global-set-key (kbd "C-x C-b") `ibuffer)
;; windmove keybinds
(when (fboundp 'windmove-default-keybindings)
@ -45,6 +44,19 @@
:repo "quelpa/quelpa-use-package"))
(require 'quelpa-use-package)
;; internal packages
(use-package ibuffer
:config
(global-set-key (kbd "C-x C-b") `ibuffer)
(setq ibuffer-saved-filter-groups
(quote (("default"
("emacs" (or
(name . "^\\*scratch\\*$")
(name . "^\\*Messages\\*$")))))))
(add-hook 'ibuffer-mode-hook (lambda ()
(ibuffer-auto-mode 1)
(setq ibuffer-show-empty-filter-groups nil))))
;; external packages (required)
(use-package company :quelpa
:config