Setting an agenda file in Emacs config.

This commit is contained in:
Derek Taylor
2024-09-14 16:40:22 -05:00
parent 6861a719f4
commit be3c6c6696
2 changed files with 16 additions and 9 deletions

View File

@@ -517,12 +517,14 @@
(make-local-variable 'auto-hscroll-mode)
(setq auto-hscroll-mode nil)))))
(eval-after-load 'org-indent '(diminish 'org-indent-mode))
(setq org-agenda-files '("~/nc/Org/agenda.org"))
(add-hook 'org-mode-hook 'org-indent-mode)
(use-package org-bullets)
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
(eval-after-load 'org-indent '(diminish 'org-indent-mode))
(custom-set-faces
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
'(org-level-2 ((t (:inherit outline-2 :height 1.6))))

View File

@@ -34,8 +34,9 @@
- [[#modeline][MODELINE]]
- [[#neotree][NEOTREE]]
- [[#org-mode][ORG MODE]]
- [[#agenda][Agenda]]
- [[#bullets][Bullets]]
- [[#diminish-org-indent-mode][Diminish Org Indent Mode]]
- [[#org-bullets][Org-Bullets]]
- [[#org-level-headers][Org Level Headers]]
- [[#org-tempo][Org-Tempo]]
- [[#preserve-indentation-on-org-babel-tangle][Preserve Indentation On Org-Babel-Tangle]]
@@ -723,16 +724,13 @@ Neotree is a file tree viewer. When you open neotree, it jumps to the current f
#+end_src
* ORG MODE
** Diminish Org Indent Mode
Removes "Ind" from showing in the modeline.
** Agenda
#+begin_src emacs-lisp
(eval-after-load 'org-indent '(diminish 'org-indent-mode))
(setq org-agenda-files '("~/nc/Org/agenda.org"))
#+end_src
** Org-Bullets
Org-bullets gives us attractive bullets rather than asterisks.
** Bullets
=Org-bullets= gives us attractive bullets rather than asterisks.
#+begin_src emacs-lisp
(add-hook 'org-mode-hook 'org-indent-mode)
@@ -740,6 +738,13 @@ Org-bullets gives us attractive bullets rather than asterisks.
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
#+end_src
** Diminish Org Indent Mode
Removes "Ind" from showing in the modeline.
#+begin_src emacs-lisp
(eval-after-load 'org-indent '(diminish 'org-indent-mode))
#+end_src
** Org Level Headers
#+begin_src emacs-lisp
(custom-set-faces