Compare commits
2 Commits
9f8d08c41d
...
aae7be3858
Author | SHA1 | Date | |
---|---|---|---|
aae7be3858 | |||
b8d7c67a97 |
@ -66,9 +66,14 @@
|
||||
"ghe.spotify.net/api/v3"
|
||||
"ghe.spotify.net"
|
||||
forge-github-repository))
|
||||
;; forge-topic-at-point really should just return nil if the buffer is not readable
|
||||
(advice-add 'forge-topic-at-point :around
|
||||
(lambda (oldfn &rest args)
|
||||
(ignore-errors (apply oldfn args))))
|
||||
:custom
|
||||
(forge-owned-accounts '((jdormit . (remote-name "jdormit"))))
|
||||
:general
|
||||
(normal magit-mode-map "yu" #'forge-copy-url-at-point-as-kill))
|
||||
(normal magit-mode-map "yu" #'forge-copy-url-at-point-as-kill)
|
||||
(magit-revision-mode-map [remap magit-browse-thing] #'forge-browse-dwim))
|
||||
|
||||
(provide 'init-git)
|
||||
|
@ -18,7 +18,9 @@
|
||||
(find-file filename)
|
||||
(goto-char (point-min))
|
||||
(unless file-exists
|
||||
(insert (format "* %s daily note"
|
||||
(org-id-get-create)
|
||||
(goto-char (point-max))
|
||||
(insert (format "#+title: %s daily note"
|
||||
(format-time-string "%Y-%m-%d")))
|
||||
(newline))
|
||||
(goto-char (point-max))))
|
||||
@ -34,7 +36,8 @@
|
||||
"CANCELLED(c)")))
|
||||
(org-capture-templates `(("d" "Daily note" plain
|
||||
(function org-find-daily-note)
|
||||
"** %<%I:%M %p>")
|
||||
"* %<%I:%M %p>")
|
||||
("n" "Org-roam note" plain (function org-roam-capture))
|
||||
("s" "Spotify task" entry
|
||||
(file+headline ,(expand-file-name "~/org/todo.org") "Spotify")
|
||||
"* TODO %i%?")
|
||||
|
Loading…
Reference in New Issue
Block a user