summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-navigation.el24
1 files changed, 16 insertions, 8 deletions
diff --git a/emacs.d/custom/fcuny-navigation.el b/emacs.d/custom/fcuny-navigation.el
index 93a652b..0766155 100644
--- a/emacs.d/custom/fcuny-navigation.el
+++ b/emacs.d/custom/fcuny-navigation.el
@@ -51,15 +51,23 @@
     (setq dired-omit-files
           (concat dired-omit-files "\\|^.DS_Store$\\|^.localized$\\|^.projectile$\\|^.git$"))))
 
-(use-package guide-key
-  :ensure t
-  :config
-  (guide-key-mode t)
-  :custom
-  (guide-key/guide-key-sequence '("C-x")))
-
 (use-package ibuffer
-  :bind ("C-x C-b" . ibuffer))
+  :bind ("C-x C-b" . ibuffer)
+  :custom
+  (ibuffer-saved-filter-groups
+   (quote (("default"
+            ("go"     (mode . go-mode))
+            ("python" (mode . python-mode))
+            ("yaml"   (mode . yaml-mode))
+            ("org"    (mode . org-mode))
+            ("dired"  (mode . dired-mode))
+            ("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"))))
 
 (use-package ivy
   :ensure t