Move and reorder lazy loaded configs

This commit is contained in:
Tom Willemse 2018-09-11 22:22:20 -07:00
parent 91efacc116
commit 2878542c76

View file

@ -240,18 +240,32 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified"
(setq slime-default-lisp 'sbcl) (setq slime-default-lisp 'sbcl)
(slime-setup '(slime-fancy slime-company))) (slime-setup '(slime-fancy slime-company)))
(with-eval-after-load 'js (load "oni-js-mode-init")) (with-eval-after-load 'align (load "oni-align"))
(with-eval-after-load 'php-mode (load "oni-php-mode-init")) (with-eval-after-load 'cc-mode (load "oni-cpp-init"))
(with-eval-after-load 'sh-mode (load "oni-sh-mode-init")) (with-eval-after-load 'circe (load "oni-circe-init"))
(with-eval-after-load 'css-mode (load "oni-css-mode-init")) (with-eval-after-load 'cmake-mode (load "oni-cmake-init"))
(with-eval-after-load 'elisp-mode (load "oni-emacs-lisp-mode-init"))
(with-eval-after-load 'scheme (load "oni-scheme-init"))
(with-eval-after-load 'compile (load "oni-compilation-init")) (with-eval-after-load 'compile (load "oni-compilation-init"))
(with-eval-after-load 'cc-mode (load "oni-java-init")) (with-eval-after-load 'css-mode (load "oni-css-mode-init"))
(with-eval-after-load 'dired (load "oni-dired-init"))
(with-eval-after-load 'ediff (load "oni-ediff-init"))
(with-eval-after-load 'elec-pair (load "oni-elec-pair-init"))
(with-eval-after-load 'elisp-mode (load "oni-emacs-lisp-mode-init"))
(with-eval-after-load 'eshell (load "oni-eshell-init"))
(with-eval-after-load 'flycheck (load "oni-flycheck-init"))
(with-eval-after-load 'gnus (load "oni-gnus-init"))
(with-eval-after-load 'jabber (load "oni-jabber-init"))
(with-eval-after-load 'js (load "oni-js-mode-init"))
(with-eval-after-load 'js2-mode (load "oni-js2-init"))
(with-eval-after-load 'lui (load "oni-lui-init"))
(with-eval-after-load 'magit (load "oni-magit-init"))
(with-eval-after-load 'org (load "oni-org-init"))
(with-eval-after-load 'php-mode (load "oni-php-mode-init"))
(with-eval-after-load 'python-mode (load "oni-python-init")) (with-eval-after-load 'python-mode (load "oni-python-init"))
(with-eval-after-load 'ruby-mode (load "oni-ruby-init")) (with-eval-after-load 'ruby-mode (load "oni-ruby-init"))
(with-eval-after-load 'scheme (load "oni-scheme-init"))
(with-eval-after-load 'sh-mode (load "oni-sh-mode-init"))
(with-eval-after-load 'shackle (load "oni-shackle-init")) (with-eval-after-load 'shackle (load "oni-shackle-init"))
(with-eval-after-load 'align (load "oni-align")) (with-eval-after-load 'slack (load "oni-slack-init"))
(with-eval-after-load 'yasnippet (load "oni-yasnippet-init")) (with-eval-after-load 'yasnippet (load "oni-yasnippet-init"))
(add-hook 'ielm-mode-hook 'paredit-mode) (add-hook 'ielm-mode-hook 'paredit-mode)
@ -320,38 +334,8 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified"
(add-hook 'lisp-mode-hook 'company-mode) (add-hook 'lisp-mode-hook 'company-mode)
(with-eval-after-load 'js2-mode (load "oni-js2-init"))
(add-hook 'html-mode-hook 'electric-pair-local-mode) (add-hook 'html-mode-hook 'electric-pair-local-mode)
(with-eval-after-load 'cmake-mode (load "oni-cmake-init"))
(with-eval-after-load 'cc-mode (load "oni-cpp-init"))
(with-eval-after-load 'dired (load "oni-dired-init"))
(with-eval-after-load 'magit (load "oni-magit-init"))
(with-eval-after-load 'ediff (load "oni-ediff-init"))
(with-eval-after-load 'eshell (load "oni-eshell-init"))
(with-eval-after-load 'slack (load "oni-slack-init"))
(with-eval-after-load 'circe (load "oni-circe-init"))
(with-eval-after-load 'lui (load "oni-lui-init"))
(with-eval-after-load 'jabber (load "oni-jabber-init"))
(with-eval-after-load 'gnus (load "oni-gnus-init"))
(with-eval-after-load 'org (load "oni-org-init"))
(with-eval-after-load 'elec-pair (load "oni-elec-pair-init"))
(with-eval-after-load 'flycheck (load "oni-flycheck-init"))
(add-to-list 'grep-files-aliases '("js" . "*.js *.jsx *.json")) (add-to-list 'grep-files-aliases '("js" . "*.js *.jsx *.json"))
(add-to-list 'grep-files-aliases '("css" . "*.css *.less *.sass *.scss")) (add-to-list 'grep-files-aliases '("css" . "*.css *.less *.sass *.scss"))
(add-to-list 'grep-files-aliases '("php" . "*.php *.inc *.module")) (add-to-list 'grep-files-aliases '("php" . "*.php *.inc *.module"))