do not use "use-package" for stuff we want to load unconditionally
This commit is contained in:
parent
47bab6f824
commit
af2d6382f3
1 changed files with 17 additions and 19 deletions
30
init.el
30
init.el
|
@ -109,7 +109,14 @@
|
||||||
|
|
||||||
(load-theme 'leuven t)
|
(load-theme 'leuven t)
|
||||||
|
|
||||||
;; better M-x
|
;; ido does most of what I need, and built in!
|
||||||
|
(require 'ido)
|
||||||
|
;; we want it everywhere and want fancy matching
|
||||||
|
(setq ido-enable-flex-matching t
|
||||||
|
ido-everywhere t)
|
||||||
|
(ido-mode 1)
|
||||||
|
|
||||||
|
;; better M-x (ido based)
|
||||||
(straight-use-package 'smex)
|
(straight-use-package 'smex)
|
||||||
(smex-initialize)
|
(smex-initialize)
|
||||||
(global-set-key (kbd "M-x") 'smex)
|
(global-set-key (kbd "M-x") 'smex)
|
||||||
|
@ -121,14 +128,12 @@
|
||||||
(use-package calendar
|
(use-package calendar
|
||||||
:init (setq calendar-week-start-day 1))
|
:init (setq calendar-week-start-day 1))
|
||||||
|
|
||||||
;; CC mode
|
;; CC mode default styles
|
||||||
(use-package cc-mode
|
(setq c-default-style '((java-mode . "java")
|
||||||
:init
|
|
||||||
(setq c-default-style '((java-mode . "java")
|
|
||||||
(awk-mode . "awk")
|
(awk-mode . "awk")
|
||||||
(c-mode . "linux")
|
(c-mode . "linux")
|
||||||
(c++-mode . "stroustrup")
|
(c++-mode . "stroustrup")
|
||||||
(other . "linux"))))
|
(other . "linux")))
|
||||||
|
|
||||||
(use-package tex-site
|
(use-package tex-site
|
||||||
:defer t
|
:defer t
|
||||||
|
@ -192,10 +197,9 @@
|
||||||
'((scheme . t)
|
'((scheme . t)
|
||||||
(emacs-lisp .t)
|
(emacs-lisp .t)
|
||||||
(python . t)
|
(python . t)
|
||||||
(C . t))))
|
(C . t)))
|
||||||
|
:config
|
||||||
(use-package org-tempo
|
(require 'org-tempo))
|
||||||
:after org)
|
|
||||||
|
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:straight t
|
:straight t
|
||||||
|
@ -246,12 +250,6 @@
|
||||||
:init
|
:init
|
||||||
(setq geiser-active-implementations '(racket)))
|
(setq geiser-active-implementations '(racket)))
|
||||||
|
|
||||||
(use-package ido
|
|
||||||
:config
|
|
||||||
(setq ido-enable-flex-matching t
|
|
||||||
ido-everywhere t)
|
|
||||||
(ido-mode 1))
|
|
||||||
|
|
||||||
;; throw away all the list-of-custom-shit!
|
;; throw away all the list-of-custom-shit!
|
||||||
(setq custom-file "~/.emacs.d/custom.el")
|
(setq custom-file "~/.emacs.d/custom.el")
|
||||||
(load custom-file 'noerror)
|
(load custom-file 'noerror)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue