5 ("P" . ibuffer-backward-filter-group
)
6 ("N" . ibuffer-forward-filter-group
)
7 ("M-p" . ibuffer-do-print
)
8 ("M-n" . ibuffer-do-shell-command-pipe-replace
))
10 ;; Use human readable Size column instead of original one
11 (define-ibuffer-column size-h
12 (:name
"Size" :inline t
)
14 ((> (buffer-size) 1000000) (format "%7.1fM" (/ (buffer-size) 1000000.0)))
15 ((> (buffer-size) 100000) (format "%7.0fk" (/ (buffer-size) 1000.0)))
16 ((> (buffer-size) 1000) (format "%7.1fk" (/ (buffer-size) 1000.0)))
17 (t (format "%8d" (buffer-size)))))
19 (ibuffer-saved-filter-groups
21 ("dired" (mode . dired-mode
))
22 ("org" (mode . org-mode
))
25 (mode . gnus-group-mode
)
26 (mode . gnus-summary-mode
)
27 (mode . gnus-article-mode
)
29 (mode . message-mode
)))
48 (mode . emacs-lisp-mode
)
60 (name .
"^\\*scratch\\*$")
61 (name .
"^\\*Messages\\*$")))
62 ("exwm" (mode . exwm-mode
))
63 ("erc" (mode . erc-mode
)))))
65 '((mark modified read-only locked
" "
66 (name 72 72 :left
:elide
)
70 (mode 16 16 :left
:elide
)
71 " " filename-and-process
)
75 :hook
(ibuffer .
(lambda () (ibuffer-switch-to-saved-filter-groups "default"))))
77 (provide 'bandali-ibuffer
)