Add ibuffer config
This commit is contained in:
parent
de95b1e393
commit
8ae83c45de
@ -26,7 +26,6 @@
|
|||||||
;; keybinds
|
;; keybinds
|
||||||
(global-set-key (kbd "C-z") `recompile)
|
(global-set-key (kbd "C-z") `recompile)
|
||||||
(global-set-key (kbd "C-S-z") `compile)
|
(global-set-key (kbd "C-S-z") `compile)
|
||||||
(global-set-key (kbd "C-x C-b") `ibuffer)
|
|
||||||
|
|
||||||
;; windmove keybinds
|
;; windmove keybinds
|
||||||
(when (fboundp 'windmove-default-keybindings)
|
(when (fboundp 'windmove-default-keybindings)
|
||||||
@ -45,6 +44,19 @@
|
|||||||
:repo "quelpa/quelpa-use-package"))
|
:repo "quelpa/quelpa-use-package"))
|
||||||
(require '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)
|
;; external packages (required)
|
||||||
(use-package company :quelpa
|
(use-package company :quelpa
|
||||||
:config
|
:config
|
||||||
|
Loading…
Reference in New Issue
Block a user