diff options
author | Tom Willemse | 2021-07-26 21:29:13 -0700 |
---|---|---|
committer | Tom Willemse | 2021-07-26 21:30:24 -0700 |
commit | 8d09d0156467f66258456cbc1aab15a7d07c219e (patch) | |
tree | 3cab315272f624cb94c62bcbfa6e0063e55600cc /oni-core.el | |
parent | 8d5b37a12da2deeb4e1682e564cd992fb67ef470 (diff) | |
download | emacs-config-8d09d0156467f66258456cbc1aab15a7d07c219e.tar.gz emacs-config-8d09d0156467f66258456cbc1aab15a7d07c219e.zip |
[oni-core] Move enabling of modes to after setting up auto loads
This way I can be sure that any files that need to get loaded when these get
enabled will be loaded.
Diffstat (limited to 'oni-core.el')
-rw-r--r-- | oni-core.el | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/oni-core.el b/oni-core.el index 41227fe..ecbad9e 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.0726.212703 +;; Version: 2021.0726.213020 ;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard) ;; This program is free software; you can redistribute it and/or modify @@ -224,14 +224,6 @@ _s_: String list" (with-eval-after-load 'ws-butler (diminish 'ws-butler-mode)) (with-eval-after-load 'which-key (diminish 'which-key-mode)) -(electric-indent-mode -1) -(winner-mode) -(recentf-mode) -(gcmh-mode) -(ws-butler-global-mode) -(which-key-mode) -(auto-insert-mode) - (add-to-list 'display-buffer-alist `(,(rx string-start "*" (any ?h ?H) "elp") @@ -272,5 +264,15 @@ _s_: String list" (with-eval-after-load 'vterm (require 'oni-vterm)) (with-eval-after-load 'yasnippet (require 'oni-yasnippet)) +;; Enable any modes that I want to have turned on right away. + +(electric-indent-mode -1) +(winner-mode) +(recentf-mode) +(gcmh-mode) +(ws-butler-global-mode) +(which-key-mode) +(auto-insert-mode) + (provide 'oni-core) ;;; oni-core.el ends here |