summaryrefslogtreecommitdiff
path: root/.doom.d/custom.el
blob: 35754371b0496d28f99414082efa9fd5af82cff9 (about) (plain)
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
;;; custom.el -*- lexical-binding: 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.
;;  '(custom-safe-themes
;;    '("97db542a8a1731ef44b60bc97406c1eb7ed4528b0d7296997cbb53969df852d6" default))
;;  '(doc-view-continuous t)
;;  '(org-agenda-files '("~/Documents/org/agenda.org"))
;;  '(package-selected-packages
;;    '(pdf-tools org-anki anki-connect quelpa-use-package exwm ##))
;;  '(warning-suppress-log-types '((erc) (erc)))
;;  '(warning-suppress-types '((color-theme) (erc) (erc))))
;; (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.
;;  '(default ((t (:height 100 :family "hack"))))
;;  '(org-level-1 ((t (:inherit outline-1 :height 1.3 :family "hack"))))
;;  '(org-level-2 ((t (:inherit outline-2 :height 1.2 :family "source code pro"))))
;;  '(org-level-3 ((t (:inherit outline-2 :height 1.2 :family "mono"))))
;;  '(org-level-4 ((t (:inherit outline-2 :height 1.0))))
;;  '(org-level-5 ((t (:inherit outline-2 :height 1.0)))))


;; (defvar my-linum-current-line-number 0)

;; (setq linum-format 'my-linum-relative-line-numbers)

;; (defun my-linum-relative-line-numbers (line-number)
;;   (let ((test2 (1+ (- line-number my-linum-current-line-number))))
;;     (propertize
;;      (number-to-string (cond ((<= test2 0) (1- test2))
;;                              ((> test2 0) test2)))
;;      'face 'linum)))

;; (defadvice linum-update (around my-linum-update)
;;   (let ((my-linum-current-line-number (line-number-at-pos)))
;;     ad-do-it))
;; (ad-activate 'linum-update)

;; ;; Theme