Skip to content

Commit

Permalink
feat(ibuffer-project): group buffers by projects in ibuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 12, 2023
1 parent 128cd50 commit 67c8d2d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions modules/me-project.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@
"p" #'consult-project-extra-find
"P" #'consult-project-extra-find-other-window))

(use-package ibuffer-project
:straight t
:hook (ibuffer . +ibuffer-project-h)
:config
;; From Crafted Emacs
(defun +ibuffer-project-h ()
(setq ibuffer-filter-groups (ibuffer-project-generate-filter-groups))
(unless (eq ibuffer-sorting-mode 'project-file-relative)
(ibuffer-do-sort-by-project-file-relative))))


(provide 'me-project)

;;; me-project.el ends here

0 comments on commit 67c8d2d

Please sign in to comment.