diff options
author | noa@gaiwan.org | 2024-08-08 15:44:21 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-08-08 15:44:21 +0000 |
commit | 27ee08010c5dc36f9aad828fa18bb57c108a3416 (patch) | |
tree | 6d12c270d1a78989de6b0ab0fd305c4571da6a4c /config.org | |
parent | e16930d3a618aee7cadb0efa7e9801fe3b0fbf76 (diff) |
Use org ids instead of searching for headings in org links
Diffstat (limited to 'config.org')
-rw-r--r-- | config.org | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.org b/config.org index e6d88ea..c7bc545 100644 --- a/config.org +++ b/config.org @@ -561,6 +561,12 @@ I thought it would be a good idea to have the ability to set headings in my note (org-fc-directories (expand-file-name "~/data/notes/"))) #+end_src +When creating links between org documents, it's better to create and use unique ids rather than search for a headline, because that headline could change. + +#+begin_src elisp + (setopt org-id-link-to-org-use-id 'create-if-interactive) +#+end_src + If we enable this, emphasis markers will be hidden for a more word processor feel. This has the downside of meaning you have to delete a hidden character to get rid of bold or italic text. I don't have much of a problem with seeing the emphasis markers so i'm willing to put up with any aesthetic shortcomings for a better user experience. The package org-appear solves this by hiding them, but showing them when the point is over them, but i don't think having a whole package just for that is worth it. #+begin_src elisp |