aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-06-11 17:24:51 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-06-11 17:24:51 +0100
commit3cb1a2b6167f3f2b6fd23506f590e104d4c3f7bc (patch)
treec961190721cb4bb8786d20526c99174a2f3394a1 /Emacs
parentc64708aaaaa47e36d8b458b09a43feb820e4e88f (diff)
downloaddotfiles-3cb1a2b6167f3f2b6fd23506f590e104d4c3f7bc.tar.gz
dotfiles-3cb1a2b6167f3f2b6fd23506f590e104d4c3f7bc.tar.bz2
dotfiles-3cb1a2b6167f3f2b6fd23506f590e104d4c3f7bc.zip
(Emacs/config)~org-capture template for bookmarks
Now we get completion (using the clipboard by default) for a URL, which is set as a property for the bookmark. It also gets a timestamp and we can fill in other text. This is a modification due to the changes in org-bookmark.
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 9af78d4..cacc333 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -3185,6 +3185,7 @@ what org-capture does.
:after org
:init
(setq
+ org-default-notes-file (concat org-directory "/todo.org")
org-capture-templates
'(("t" "Todo" entry
(file "")
@@ -3194,8 +3195,8 @@ what org-capture does.
("b" "Bookmark" entry
(file "bookmarks.org")
"* %? :bookmark:
-"))
- org-default-notes-file (concat org-directory "/todo.org"))
+%^{url|%x}p
+%T")))
:general
(leader
"C" #'org-capture)