about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/wpc-misc.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-10-03T13·50+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-10-03T13·50+0100
commit4c809ebf59d66800f9a4ede298e4d4606993cea9 (patch)
tree8f2ab26fe183bdd993e0979eee3aebdc1c7b4b3b /emacs/.emacs.d/wpc/wpc-misc.el
parentb4b929a55b95cf569296aa8f2b0342fd90aa1586 (diff)
Set ibuffer's default sort to major-mode
I find this a more intuitive default.
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-misc.el')
-rw-r--r--emacs/.emacs.d/wpc/wpc-misc.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el
index 3ac46de7f9d8..3850558cf69c 100644
--- a/emacs/.emacs.d/wpc/wpc-misc.el
+++ b/emacs/.emacs.d/wpc/wpc-misc.el
@@ -177,6 +177,9 @@
                 tags-file-name
                 register-alist)))
 
+;; configure ibuffer
+(setq ibuffer-default-sorting-mode 'major-mode)
+
 ;; config Emacs to use $PATH values
 (use-package exec-path-from-shell
   :if (memq window-system '(mac ns))