summaryrefslogtreecommitdiff
path: root/modules/org-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-16 02:15:09 -0500
committerCraig Jennings <c@cjennings.net>2025-10-16 02:15:09 -0500
commitd42946153409fbb0bd382895c44e29b05d25243c (patch)
tree2f6ccae74396d443ffe14b9dd857dbd88d667f7a /modules/org-config.el
parentae626efae22aad6d6531fdbd7c480200d4f98e50 (diff)
refactor: org-store-link: move keybinding to org-config
Diffstat (limited to 'modules/org-config.el')
-rw-r--r--modules/org-config.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/org-config.el b/modules/org-config.el
index 524ff290..aa91f7e1 100644
--- a/modules/org-config.el
+++ b/modules/org-config.el
@@ -13,7 +13,6 @@
(defvar org-archive-location
(concat sync-dir "/archives/archive.org::datetree/")
"Location of the archive file.
-
The archive file is where org entries that are archived via
org-archive-subtree-default are placed.")
@@ -50,9 +49,11 @@ org-archive-subtree-default are placed.")
(setq org-image-actual-width '(500)) ;; keep image sizes in check
(setq org-yank-image-save-method 'attach) ;; attach images; save to data directory
-
(setq org-bookmark-names-plist nil) ;; don't set org-capture bookmarks
+ ;; make org-store-link binding global
+ (global-set-key (kbd "C-c l") 'org-store-link)
+
;; force pdfs exported from org to open in emacs
(add-to-list 'org-file-apps '("\\.pdf\\'" . emacs)))