commit | author | age
|
990949
|
1 |
;; Repos
|
C |
2 |
(require 'package)
|
|
3 |
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
|
|
4 |
("melpa" . "https://melpa.org/packages/")
|
|
5 |
("org" . "https://orgmode.org/elpa/")))
|
|
6 |
(package-initialize)
|
|
7 |
|
|
8 |
;; use-package
|
|
9 |
(unless (package-installed-p 'use-package)
|
|
10 |
(package-refresh-contents)
|
|
11 |
(package-install 'use-package))
|
|
12 |
|
|
13 |
(eval-when-compile
|
|
14 |
(require 'use-package))
|
|
15 |
|
|
16 |
;; auto-package-update
|
|
17 |
(use-package auto-package-update
|
|
18 |
:ensure t
|
|
19 |
:config
|
|
20 |
(setq auto-package-update-delete-old-versions t)
|
|
21 |
(setq auto-package-update-hide-results t)
|
|
22 |
(auto-package-update-maybe))
|
|
23 |
|
|
24 |
;; diminish
|
|
25 |
(use-package diminish
|
|
26 |
:ensure t)
|
|
27 |
|
|
28 |
;; redirect to org config file
|
|
29 |
(when (file-readable-p "~/.emacs.d/config.org")
|
|
30 |
(org-babel-load-file "~/.emacs.d/config.org"))
|
|
31 |
|
|
32 |
(custom-set-variables
|
|
33 |
;; custom-set-variables was added by Custom.
|
|
34 |
;; If you edit it by hand, you could mess it up, so be careful.
|
|
35 |
;; Your init file should contain only one such instance.
|
|
36 |
;; If there is more than one, they won't work right.
|
0fcc09
|
37 |
'(ede-project-directories '("c:/Users/joelg/.emacs.d"))
|
8a38cc
|
38 |
'(line-number-mode nil)
|
990949
|
39 |
'(package-selected-packages
|
baf326
|
40 |
'(org elscreen doom-themes csv-mode magit minesweeper speed-type spray fireplace powershell company-auctex company-bibtex company-irony-c-headers company-reftex gnuplot-mode gnuplot matlab-mode diminish keyfreq zenburn-theme yasnippet x86-lookup workgroups2 which-key volatile-highlights use-package undo-tree srefactor smartparens racket-mode popwin plantuml-mode pdf-tools org-bullets nyan-mode latex-preview-pane helm-projectile ggtags flycheck-pos-tip flycheck-clang-analyzer company-math company-c-headers clean-aindent-mode auto-package-update)))
|
990949
|
41 |
(custom-set-faces
|
C |
42 |
;; custom-set-faces was added by Custom.
|
|
43 |
;; If you edit it by hand, you could mess it up, so be careful.
|
|
44 |
;; Your init file should contain only one such instance.
|
|
45 |
;; If there is more than one, they won't work right.
|
|
46 |
)
|
|
47 |
(put 'narrow-to-page 'disabled nil)
|
|
48 |
(put 'narrow-to-region 'disabled nil)
|