updated bindings
This commit is contained in:
parent
adf9f53b0e
commit
0ba73008fa
3 changed files with 20 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
;; configure obsidian integration for note taking fun times
|
||||
(use-package! obsidian
|
||||
:config
|
||||
(obsidian-specify-path "~/Documents/Obsidian/Primary")
|
||||
(obsidian-specify-path "~/Documents/Obsidian/Primary/")
|
||||
(setq obsidian-inbox-directory "_Inbox")
|
||||
(global-obsidian-mode t)
|
||||
(map! :map obsidian-mode-map
|
||||
|
@ -16,6 +16,6 @@
|
|||
"Create new obsidian note. In the `obsidian-inbox-directory' if set otherwise in `obsidian-directory' root."
|
||||
(interactive)
|
||||
(let* ((title (read-from-minibuffer "Title: " (format-time-string "%Y-%m-%d")))
|
||||
(filename (s-concat obsidian-directory "/_Journal/" title ".md"))
|
||||
(filename (s-concat obsidian-directory "_Journal/" title ".md"))
|
||||
(clean-filename (s-replace "//" "/" filename)))
|
||||
(find-file (expand-file-name clean-filename) t))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue