literate-config

Literate config. See <a href="../readme.org">readme.org</a> for a better-formatted version
Log | Files | Refs

commit 01e52306d2b14ddf22ed9e7c7b52b250db8625c4
parent 17db7b4c169fa923d96f4f0a19461cbf60f03b5a
Author: Crazazy <crazazy@tilde.cafe>
Date:   Thu,  5 Jan 2023 14:21:09 +0100

replace org-roam with denote

Diffstat:
Memacs.org | 36++++++++++++++++++++++++++++++++++--
1 file changed, 34 insertions(+), 2 deletions(-)

diff --git a/emacs.org b/emacs.org @@ -146,19 +146,26 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto While the brunt of this file is relatively vanilla, There are still some things that I want to customize about the org-mode experience For now, I think it's best if I don't start depending on org-contrib, as it contains a lot of features and I would waste quite some time figuring out what all those features are. + + First of all, auto-indenting isn't enabled everywhere, so let's do that + #+begin_src emacs-lisp :tangle emacsconfig/org.el + (use-package org + :custom + (org-adapt-indentation t)) + #+end_src **** Syntax highlighting for HTML exports Normally, when I export my document to an html file for the website, syntax highlighting isn't automatically turned on. htmlize changes this by putting some colorful spans in all my source code. No need to configure anything either #+begin_src emacs-lisp :tangle emacsconfig/org.el (use-package htmlize) #+end_src -**** Org roam +**** Org roam :noexport: My parents are really urging me to take notes of stuff now. And I'm inclined to agree. I'll try and figure out what I need from my note taking program down the line, but for now here is a basic config Mostly stolen from [[https://systemcrafters.net/build-a-second-brain-in-emacs/][System crafters]] I will have to figure out what most of this does /exactly/ but from the description this all seems like stuff that I'd want for my note taking setup - #+begin_src emacs-lisp :tangle emacsconfig/org.el + #+begin_src emacs-lisp :tangle no (use-package org-roam :ensure t :demand t ;; Ensure org-roam is loaded by default @@ -280,6 +287,31 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto (my/org-roam-copy-todo-to-today)))) #+end_src +**** Denote + I used to want to try out org-roam, but nothing came of that. However, right now I do have notes in denote, + and since emacs-ng doesn't work with denote anymore (since its stuck at version 28.0.50) I have to move to + the default version of emacs + #+begin_src emacs-lisp :tangle emacsconfig/org.el + (use-package denote + :ensure t + :custom + (denote-directory "~/Documents/notes/") + (denote-file-type nil) + (denote-prompts '(title keywords)) + (denote-date-prompt-use-org-read-date t) + :bind + (("C-c n n" . denote) + ("C-c n N" . denote-type) + ("C-c n d" . denote-date) + ("C-c n s" . denote-subdirectory) + ("C-c n t" . denote-template) + ("C-c n r" . denote-rename-file) + :map org-mode-map + ("C-c n i" . denote-link) + ("C-c n I" . denote-link-add-links) + ("C-c n l" . denote-link-find-file) + ("C-c n b" . denote-link-backlinks))) + #+end_src *** Evil mode I am originally a vim user, and the standard vim bindings have not left my hands yet, I am not a big configurer, so this is mostly just the standard configuration that [[https://github.com/emacs-evil/evil-collection#installation][evil-mode]] advices you to do