diff options
author | Franck Cuny <franck@fcuny.net> | 2022-03-24 19:39:28 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-03-24 19:39:28 -0700 |
commit | b70ab69463171e27cb39a349d6f22e19ae5fb697 (patch) | |
tree | 01844fc7559b9e0b5a4f7ebf50186af5848d658e /emacs/custom | |
parent | ui: configure display for xref buffers (diff) | |
download | emacs.d-b70ab69463171e27cb39a349d6f22e19ae5fb697.tar.gz |
ibuffer: simplify the configuration
I mostly use project.el anyway.
Diffstat (limited to 'emacs/custom')
-rw-r--r-- | emacs/custom/my-navigation.el | 33 |
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) |