-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
138 lines (115 loc) · 4.2 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
136
137
138
(mirage-module 'ef-themes)
(setq light-theme 'ef-deuteranopia-light)
(setq dark-theme 'ef-tritanopia-dark)
(mirage-layer 'modeline-moody)
;; default
(set-face-attribute 'default nil :font "Fira Code Retina" :height 93)
;; fixed pitch
(set-face-attribute 'fixed-pitch nil :font "Fira Code Retina" :height 93)
;; variable pitch
(set-face-attribute 'variable-pitch nil :font "PT Sans" :height 105 :weight 'regular)
;; italic
(defface mirage/italic
'((t :font "Victor Mono" :height 86 :weight bold :slant italic))
"Italic typeface")
;; titles
(setq typeface-title "Latin Modern Roman")
;; headings
(setq typeface-heading "Century Gothic")
;; mode line
(set-face-attribute 'mode-line nil :height 85 :inherit 'fixed-pitch)
(mirage-module 'counsel)
(mirage-module 'helpful)
(mirage-module 'which-key)
(mirage-layer 'navigation)
;; text editing
(mirage-layer 'editing)
;; text search
(mirage-layer 'search)
;; snippets
(mirage-module 'yasnippet)
;; auto-completions
(mirage-layer 'completion-vertico)
;; session management
(mirage-layer 'session)
;; project management
(mirage-layer 'project-interaction)
(mirage-layer 'file-management)
(mirage-layer 'ide)
(mirage-layer 'latex)
(mirage-module 'bitacora)
(mirage-layer 'org-agenda)
(mirage-layer 'org-gtd)
;; language
(setq default-input-method 'spanish-prefix)
;; custom link types
(@mirage/org-dir-link "msc1" (concat home "studio/academic/education/TU Delft/MSc/Space Flight/SPF-1/"))
(@mirage/org-dir-link "ta"(concat home "studio/academic/education/TU Delft/_assistantships/"))
;; org-roam capture templates
(setq org-roam-capture-templates
'(("m" "mathematics" plain "%?"
:target (file+head "mathematics/%<%Y%m%d%H%M%S>-${slug}.org"
"#+STARTUP: subtree\n\n\n\n#+title:${title}\n\n\n")
:unnarrowed t)
("c" "control" plain "%?"
:target (file+head "control/%<%Y%m%d%H%M%S>-${slug}.org"
"#+STARTUP: subtree\n\n\n\n#+title:${title}\n\n\n")
:unnarrowed t)))
;; org-agenda setup
(setq org-agenda-hide-tags-regexp
"CW\\|INT\\|THESIS\\|TA\\|BIRTHDAY\\|PERSONAL\\|PROFESSIONAL\\|TRAVEL\\|PEOPLE\\|HOME\\|FINANCE\\|PURCHASES\\|GIFTS")
(setq org-super-agenda-groups
'(;; Each group has an implicit boolean OR operator between its selectors.
(:name "Important"
;; Single arguments given alone
:priority "A")
(:name "Coursework"
;; Single arguments given alone
:tag "CW")
(:name "Internship"
;; Single arguments given alone
:tag "INT")
(:name "Thesis"
;; Single arguments given alone
:tag "THESIS")
(:name "Assistantships"
;; Single arguments given alone
:tag "TA")
(:name "Personal"
;; Single arguments given alone
:tag "PERSONAL")
(:name "Professional"
;; Single arguments given alone
:tag "PROFESSIONAL")
(:name "Travel"
;; Single arguments given alone
:tag "TRAVEL")
(:name "Keeping in touch"
;; Single arguments given alone
:tag "PEOPLE")
(:name "Home"
;; Single arguments given alone
:tag "HOME")
(:name "Medical"
;; Single arguments given alone
:tag "MEDICAL")
(:name "Finance"
;; Single arguments given alone
:tag "FINANCE")
(:name "Purchases"
;; Single arguments given alone
:tag "PURCHASES")
(:name "Gifts"
;; Single arguments given alone
:tag "GIFTS")
(:name "Birthdays"
;; Single arguments given alone
:tag "BIRTHDAY")
(:priority<= "B"
;; Show this section after "Today" and "Important", because
;; their order is unspecified, defaulting to 0. Sections
;; are displayed lowest-number-first.
:order 1)
;; After the last group, the agenda will display items that didn't
;; match any of these groups, with the default order position of 99
))