-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
42 lines (38 loc) · 1.42 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
;; Load'em up
(load-file "~/.emacs.d/better-defaults.el")
(load-file "~/.emacs.d/packages.el")
(load-file "~/.emacs.d/keys.el")
;; quick helper to prettify json
(defun json-format ()
(interactive)
(save-excursion
(shell-command-on-region (point-min) (point-max) "python -m json.tool" (buffer-name) t)
)
)
(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.
'(font-use-system-font t)
'(magit-push-arguments nil)
'(org-agenda-files '("~/thoughts/"))
'(org-agenda-follow-mode t)
'(org-clock-persist 'history)
'(org-default-notes-file '"~/thoughts/daily.org")
'(org-log-done 'note)
'(org-roam-db-autosync-mode t)
'(package-selected-packages
'(sqlite sqlite3 emacsql-sqlite ipython-shell-send org-roam markdown-mode flycheck rust-mode magit deft org-pomodoro org-ref org-sidebar htmlize))
'(show-paren-mode t)
'(tool-bar-mode nil))
(org-clock-persistence-insinuate)
(load-file "~/.emacs.d/org-mode-defaults.el")
(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.
)
(when (version<= "26.0.50" emacs-version)
(global-display-line-numbers-mode))