Fork me on GitHub

@jr0cket Yeah I don't use iBuffer very often, but sometimes it comes handy for use cases like @mario.cordova.862 had. For example if you need to show all the buffers associated with unsaved files you can introduce a custom iBuffer filter

(define-ibuffer-filter unsaved-file-buffers
  "Toggle current view to buffers whose file is unsaved."
(:description "file is unsaved")
(ignore qualifier)
(and (buffer-local-value 'buffer-file-name buf)
     (buffer-modified-p buf)))

(define-key ibuffer-mode-map (kbd "/ u") #'ibuffer-filter-by-unsaved-file-buffers)