-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
71 lines (66 loc) · 2.06 KB
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
;;;; Egon Kidmoses emacs configuration file.
; created 08-may-2013
;; Load seperate files
; LaTeX
;(load "~/.emacs.d/latex/latex.el" nil t t)
; C and cpp
;(load "~/.emacs.d/c/c.el" nil t t)
; Global customisation
(load "~/.emacs.d/glob_cust/glob_cust.el" nil t t)
;;;; el-get
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
;; Downloads el-get:
(unless (require 'el-get nil 'noerror)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/dimitri/el-get/master/el-get-install.el")
(goto-char (point-max))
(eval-print-last-sexp)))
;; Where to store recipes (What are they?..)
(add-to-list 'el-get-recipe-path "~/.emacs.d/el-get-user/recipes")
(el-get 'sync)
;; My own init files pr. mode:
(setq el-get-user-package-directory "~/.emacs.d/el-get-init-files/")
;; El get packages
(setq my-packages
'(
visual-fill-column
auctex
bash-completion
ein
el-get
magit
magit-gitflow
markdown-mode
openwith
restclient
flyspell
python-mode
;; elpy
;; python
;; https://smythp.com/emacs/python/2016/04/27/pyenv-elpy.html
flycheck
;; py-autopep8
;; blacken
pyenv-mode f ;; manually installed dependency: f
pyenv-mode-auto
))
(el-get 'sync my-packages)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(indent-tabs-mode nil)
'(initial-major-mode (quote markdown-mode))
'(initial-scratch-message nil)
'(safe-local-variable-values (quote ((encoding . utf-8)))))
'(ispell-dictionary "en_GB")
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(font-lock-type-face ((t (:foreground "ForestGreen")))))
(put 'downcase-region 'disabled nil)
(put 'upcase-region 'disabled nil)