aboutsummaryrefslogtreecommitdiff
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
commitc8dee15a54f7d5c186e7d84e1c86ac07764435ea (patch)
treece4457c97d33cf2ff55fa65c8d35e8831c223ac9 /modules/org-config.el
parent84459537ffed5e1913d98d5413de932b4cd8e036 (diff)
downloaddotemacs-c8dee15a54f7d5c186e7d84e1c86ac07764435ea.tar.gz
dotemacs-c8dee15a54f7d5c186e7d84e1c86ac07764435ea.zip
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 524ff2900..aa91f7e13 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)))