forked from da-liii/.emacs.d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
135 lines (133 loc) · 4.36 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
(setq spacemacs-start-directory "~/.emacs.d/spacemacs/")
(load-file (concat spacemacs-start-directory "init.el"))
;(require 'package)
;
;(setq jpk-package-list
; '(
; ;; apperance
; moe-theme
; powerline
; rainbow-delimiters
; tabbar-ruler
; fill-column-indicator
; indent-guide
; hl-line
; sr-speedbar
; ;; edit
; paredit
; paredit-everywhere
; hl-sexp
; yasnippet
; company
; company-c-headers
; ;; util
; keyfreq
; smex
; evil
; youdao-dictionary
; ;; cpp
; function-args
; ;; vuejs
; vue-mode
; ;; python
; elpy
; pydoc
; qml-mode
; markdown-mode
; yaml-mode
; go-mode))
;
;;; package-install-auto
;(defun jpk-package-list-install ()
; (interactive)
; (package-initialize)
; (when (not package-archive-contents)
; (package-refresh-contents))
; (dolist (pkg jpk-package-list)
; (when (and (not (package-installed-p pkg))
; (assoc pkg package-archive-contents))
; (package-install pkg))))
;
;;; list the unaccounted packages
;(defun package-list-unaccounted-packages ()
; (interactive)
; (package-show-package-list
; (remove-if-not (lambda (x) (and (not (memq x jpk-package-list))
; (not (package-built-in-p x))
; (package-installed-p x)))
; (mapcar 'car package-archive-contents))))
;
;(add-to-list 'package-archives
; '("melpa" . "http://melpa.org/packages/") t)
;
;(let ((default-directory "~/.emacs.d/elpa/"))
; (normal-top-level-add-to-load-path '("."))
; (normal-top-level-add-subdirs-to-load-path))
;
;(add-to-list 'load-path "~/.emacs.d/lisp/")
;(require 'init-edit)
;(require 'init-appearance)
;(require 'init-utils)
;
;;(require 'init-golang)
;(require 'init-markdown)
;(require 'init-shell)
;(require 'init-org)
;(require 'init-cpp) ;; c & cpp
;(require 'init-scheme)
;(require 'init-elisp)
;(require 'init-python)
;(require 'init-ruby)
;(require 'init-haskell)
;(require 'init-qml)
;(require 'init-js)
;
;(require 'init-keymap)
;
;;; Default Settings
;(prefer-coding-system 'utf-8)
;
;(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.
; '(c-tab-always-indent nil)
; '(company-c-headers-path-system
; (quote
; ("/usr/include/" "/usr/local/include/" "/usr/include/c++/4.9/" "/usr/include/x86_64-linux-gnu/c++/4.9/" "/usr/include/c++/4.9/backward/" "/usr/include/x86_64-linux-gnu/" "/usr/include/boost" "/usr/include/qt4" "/usr/include/KDE")))
; '(display-time-mode t)
; '(ecb-options-version "2.40")
; '(global-company-mode t)
; '(indent-tabs-mode nil)
; '(inhibit-startup-screen t)
; '(minimap-window-location (quote right))
; '(org-agenda-files (quote ("~/todo.org")))
; '(org-agenda-include-diary t)
; '(org-support-shift-select t)
; '(package-selected-packages
; (quote
; (sr-speedbar vue-mode youdao-dictionary yaml-mode tabbar-ruler smex rainbow-delimiters qml-mode pydoc paredit-everywhere moe-theme markdown-mode magit keyfreq indent-guide hl-sexp go-mode function-args fill-column-indicator evil ensime elpy company-c-headers)))
; '(tool-bar-mode nil))
;
;(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.
; '(rainbow-delimiters-depth-1-face ((t (:foreground "#f1c40f"))))
; '(rainbow-delimiters-depth-10-face ((t (:foreground "#2ecc71"))))
; '(rainbow-delimiters-depth-11-face ((t (:foreground "#c0392b"))))
; '(rainbow-delimiters-depth-12-face ((t (:foreground "#1abc9c"))))
; '(rainbow-delimiters-depth-2-face ((t (:foreground "#2e8ece"))))
; '(rainbow-delimiters-depth-3-face ((t (:foreground "#e67e22"))))
; '(rainbow-delimiters-depth-4-face ((t (:foreground "#27ae60"))))
; '(rainbow-delimiters-depth-5-face ((t (:foreground "#e74c3c"))))
; '(rainbow-delimiters-depth-6-face ((t (:foreground "#16a085"))))
; '(rainbow-delimiters-depth-7-face ((t (:foreground "#f39c12"))))
; '(rainbow-delimiters-depth-8-face ((t (:foreground "#3498db"))))
; '(rainbow-delimiters-depth-9-face ((t (:foreground "#d35400")))))
;
;;; customize
;(setq visible-bell t)
;(server-start)