-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.el
39 lines (30 loc) · 1.19 KB
/
org.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
;;; org.el --- My org mode -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Stanislav Smirnov
;;; Commentary:
;; The config of modern mode has been taken from https://github.com/minad/org-modern
;;; Code:
(use-package org-modern
:config
(setq
;; Edit settings
org-auto-align-tags nil
org-tags-column 0
org-catch-invisible-edits 'show-and-error
org-special-ctrl-a/e t
org-insert-heading-respect-content t
;; Org styling, hide markup etc.
org-hide-emphasis-markers t
org-pretty-entities t
org-ellipsis "…"
;; Agenda styling
org-agenda-block-separator ?─
org-agenda-time-grid '((daily today require-timed)
(800 1000 1200 1400 1600 1800 2000)
" ┄┄┄┄┄ " "┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄")
org-agenda-current-time-string "⭠ now ─────────────────────────────────────────────────")
;; Enable org-modern-mode with intendations
(add-hook 'org-mode-hook (lambda ()
(org-modern-mode)
(org-indent-mode t)))
(add-hook 'org-agenda-finalize-hook #'org-modern-agenda))
;;; org.el ends here