summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-navigation.el33
1 files changed, 1 insertions, 32 deletions
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)