-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
89 lines (80 loc) · 4.04 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
;;; package --- Summary
;;; Commentary:
;;; Code:
(setq native-comp-async-report-warnings-errors nil)
;; remove unwanted built-in org.
(mapc (lambda (x) (setq load-path (remove x load-path))) '("/usr/local/Cellar/emacs-mac/emacs-27.2-mac-8.2/share/emacs/27.2/lisp/org" "/usr/share/emacs/27.1/lisp/org"))
(defvar bootstrap-version)
(setq straight-repository-branch "develop")
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(setq package-enable-at-startup nil)
(package-initialize)
(unless (assoc-default "melpa" package-archives)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t))
(unless (assoc-default "nongnu" package-archives)
(add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/") t))
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(straight-use-package '(org :host github
:repo "yatsky/org"
:branch "publish-project-matching-tag"))
(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.
'(custom-safe-themes
'("ed8e6f452855fc7338c8be77803666b34745c19c6667197db48952107fa6d983" "03f28a4e25d3ce7e8826b0a67441826c744cbf47077fb5bc9ddb18afe115005f" "691421cecade32cf48772346303b19ea5a1af275122c1593c631e6d846549dd0" "81c3de64d684e23455236abde277cda4b66509ef2c28f66e059aa925b8b12534" "947190b4f17f78c39b0ab1ea95b1e6097cc9202d55c73a702395fc817f899393" "b46ee2c193e350d07529fcd50948ca54ad3b38446dcbd9b28d0378792db5c088" default))
'(debug-on-error t)
'(elfeed-feeds '("https://nyaa.si/?page=rss"))
'(global-display-line-numbers-mode t)
'(global-emojify-mode t)
'(global-emojify-mode-line-mode t)
'(load-prefer-newer t t)
'(org-agenda-search-headline-for-time nil)
'(org-agenda-skip-additional-timestamps-same-entry t)
'(org-agenda-skip-timestamp-if-deadline-is-shown nil)
'(org-babel-load-languages
'((js . t)
(java . t)
(python . t)
(sqlite . t)
(emacs-lisp . t)
(shell . t)
(ditaa . t)))
'(org-confirm-babel-evaluate nil)
'(org-export-use-babel nil)
'(org-html-htmlize-output-type 'css)
'(org-html-preamble-format '(("en" "<p>%t</p></p>%d</p>")))
'(org-modules
'(org-bbdb org-bibtex org-docview org-eww org-gnus org-info org-irc org-mhe org-rmail org-w3m))
'(org-refile-targets
'((org-agenda-files :regexp . "*")
(org-agenda-files :maxlevel . 5)))
'(org-screenshot-image-directory "/tmp/images/")
'(org-src-tab-acts-natively t)
'(package-check-signature nil)
'(package-selected-packages
'(ox-jira dired-sidebar dired-subtree xah-find ox-reveal nov org-noter blacken command-log-mode org-tree-slide emojify pyim-wbdict all-the-icons use-package virtualenvwrapper pdf-tools posframe pyim json-mode elisp-format general gif-screencast which-key org-mime evil-collection flycheck tide web-mode rjsx-mode org-bullets magit el-get gnu-elpa-keyring-update jedi-core cnfonts request-deferred elfeed exec-path-from-shell htmlize auctex yasnippet-snippets jedi powerline dracula-theme evil-magit org-evil evil org undo-tree))
'(pdf-view-midnight-colors '("white smoke" . "black"))
'(smartparens-global-strict-mode t)
'(xclip-program "powershell.exe"))
(org-babel-load-file (expand-file-name "~/.emacs.d/yaoni.org"))
(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.
)
(put 'erase-buffer 'disabled nil)