From b70ab69463171e27cb39a349d6f22e19ae5fb697 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 24 Mar 2022 19:39:28 -0700 Subject: ibuffer: simplify the configuration I mostly use project.el anyway. --- emacs/custom/my-navigation.el | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'emacs/custom') diff --git a/emacs/custom/my-navigation.el b/emacs/custom/my-navigation.el index 4a36310..e9197b5 100644 --- a/emacs/custom/my-navigation.el +++ b/emacs/custom/my-navigation.el @@ -49,38 +49,7 @@ (concat dired-omit-files "\\|^.DS_Store$\\|^.localized$\\|^.projectile$\\|^.git$"))) (use-package ibuffer - :bind ("C-x C-b" . ibuffer) - :commands - ibuffer-auto-mode - ibuffer-switch-to-saved-filter-groups - ibuffer-do-sort-by-alphabetic - :custom - (ibuffer-saved-filter-groups - (quote (("default" - ("org" (mode . org-mode)) - ("go" (mode . go-mode)) - ("nix" (mode . nix-mode)) - ("python" (mode . python-mode)) - ("config" (or - (name . "\\.conf$") - (name . "\\.json$") - (mode . yaml-mode))) - ("scripts" (mode . sh-mode)) - ("documentation" (or - (mode . markdown-mode) - (mode . rst-mode))) - ("dired" (mode . dired-mode)) - ("shell" (mode . eshell-mode)) - ("git" (or - (name . "^\*magit") - (name . "^\magit"))) - ("Emacs" (or - (mode . emacs-lisp-mode) - (name . "^\\*scratch\\*$") - (name . "^\\.emacs") - (name . "^\\*Messages\\*$"))))))) - :init - (add-hook 'ibuffer-mode-hook (lambda () (ibuffer-switch-to-saved-filter-groups "default")))) + :bind ("C-x C-b" . ibuffer)) (use-package recentf :init (recentf-mode 1) -- cgit 1.4.1