blob: 67b44ed347916fbc4d0ffd505fce0b498290fa9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
;; install package
(require-package 'ibuffer-vc)
;; load ibuffer and ibuffer-vc
(require 'ibuffer)
(require 'ibuffer-vc)
;; group ibuffer by repository root
(add-hook 'ibuffer-hook
(lambda () (ibuffer-vc-set-filter-groups-by-vc-root)))
;; use ibuffer
(global-set-key (kbd "C-x C-b") 'ibuffer-other-window)
;; disable confirmation for killing unmodified buffers
(setq ibuffer-expert t)
(provide 'init-ibuffer)
|