Compare commits

..

No commits in common. "aae7be3858ebc1c24fd8dafb072705702bd8d427" and "9f8d08c41dbbf95f1d5ef453f0aadfe0786a5e94" have entirely different histories.

2 changed files with 3 additions and 11 deletions

View File

@ -66,14 +66,9 @@
"ghe.spotify.net/api/v3" "ghe.spotify.net/api/v3"
"ghe.spotify.net" "ghe.spotify.net"
forge-github-repository)) 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 :custom
(forge-owned-accounts '((jdormit . (remote-name "jdormit")))) (forge-owned-accounts '((jdormit . (remote-name "jdormit"))))
:general :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) (provide 'init-git)

View File

@ -18,9 +18,7 @@
(find-file filename) (find-file filename)
(goto-char (point-min)) (goto-char (point-min))
(unless file-exists (unless file-exists
(org-id-get-create) (insert (format "* %s daily note"
(goto-char (point-max))
(insert (format "#+title: %s daily note"
(format-time-string "%Y-%m-%d"))) (format-time-string "%Y-%m-%d")))
(newline)) (newline))
(goto-char (point-max)))) (goto-char (point-max))))
@ -36,8 +34,7 @@
"CANCELLED(c)"))) "CANCELLED(c)")))
(org-capture-templates `(("d" "Daily note" plain (org-capture-templates `(("d" "Daily note" plain
(function org-find-daily-note) (function org-find-daily-note)
"* %<%I:%M %p>") "** %<%I:%M %p>")
("n" "Org-roam note" plain (function org-roam-capture))
("s" "Spotify task" entry ("s" "Spotify task" entry
(file+headline ,(expand-file-name "~/org/todo.org") "Spotify") (file+headline ,(expand-file-name "~/org/todo.org") "Spotify")
"* TODO %i%?") "* TODO %i%?")