summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.emacs.d/init.el22
1 files changed, 19 insertions, 3 deletions
diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el
index 13928fb..d53360d 100644
--- a/dotfiles/.emacs.d/init.el
+++ b/dotfiles/.emacs.d/init.el
@@ -1,3 +1,5 @@
+;; -*- lexical-binding: t -*-
+
;; Super handy macro for loading packages but not stopping the init
;; process if they aren't found.
(require 'use-package)
@@ -160,9 +162,22 @@ might be bad."
(ibuffer-switch-to-saved-filter-groups "default")))
:custom ((ibuffer-saved-filter-groups
'(("default"
- ("dired" (mode . dired-mode))
- ("org" (mode . org-mode))
- ("erc" (mode . erc-mode)))))))
+ ("Dired" (mode . dired-mode))
+ ("Org" (mode . org-mode))
+ ("ERC" (mode . erc-mode))
+ ("Magit" (or (mode . magit-status-mode)
+ (mode . magit-diff-mode)
+ (mode . magit-process-mode)))
+ ("Shell" (mode . shell-mode))
+ ("Guix" (name . "Guix"))
+ ("Emacs Lisp" (mode . emacs-lisp-mode))
+ ("Scheme" (or (mode . scheme-mode)
+ (name . "Geiser")
+ (mode . geiser-repl-mode)
+ (mode . geiser-messages-mode)))
+ ("Ruby" (mode . ruby-mode))
+ ("JavaScript" (mode . js2-mode)))))
+ (ibuffer-show-empty-filter-groups nil)))
(setq view-read-only t)
@@ -204,6 +219,7 @@ might be bad."
;;;
(use-package ansi-color
+ ;; Process ANSI color codes in compilation buffers.
:config (add-hook 'compilation-filter-hook #'ansi-color-compilation-filter))