mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Let me fuzzy search through everything
This commit is contained in:
parent
6c4253faa0
commit
e8b6af74b8
3 changed files with 17 additions and 3 deletions
|
|
@ -37,13 +37,19 @@
|
|||
(file+head+olp "%<%Y%m%d%H%M%S>-${slug}.org"
|
||||
"#+title: ${title}\n"
|
||||
("Journal" "%<%b %d, %Y>")))
|
||||
("J" "Journal with source" entry "* %<%H:%M> %?\n:PROPERTIES:\n:LOCATION: %a\n:END:\n\n%s"
|
||||
("t" "Timed journal" entry "* %<%H:%M> %?\n%U"
|
||||
:unnarrowed t
|
||||
:target
|
||||
(file+head+olp "%<%Y%m%d%H%M%S>-${slug}.org"
|
||||
"#+title: ${title}\n"
|
||||
("Journal" "%<%b %d, %Y>")))
|
||||
("s" "source location" entry "* %^{Short Description? }\n:PROPERTIES:\n:DATE: [%<%Y-%m-%d %H:%M>]\n:LOCATION: %a\n:END:\n\n%?"
|
||||
("J" "Journal with source" entry "* %<%H:%M> %?\n:PROPERTIES:\n:LOCATION: %a\n:END:\n%U\n\n%s"
|
||||
:unnarrowed t
|
||||
:target
|
||||
(file+head+olp "%<%Y%m%d%H%M%S>-${slug}.org"
|
||||
"#+title: ${title}\n"
|
||||
("Journal" "%<%b %d, %Y>")))
|
||||
("s" "source location" entry "* %^{Short Description? }\n:PROPERTIES:\n:DATE: %U\n:LOCATION: %a\n:END:\n\n%?"
|
||||
:unnarrowed t
|
||||
:target
|
||||
(file+head+olp "%<%Y%m%d%H%M%S>-${slug}.org"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,14 @@
|
|||
(setq org-agenda-files
|
||||
(append
|
||||
orua/agenda-files
|
||||
(my/get-org-roam-files-by-tags '("Project" "active")))))
|
||||
(my/get-org-roam-files-by-tags '("Project" "active"))
|
||||
(my/get-org-roam-most-recent-dailies))))
|
||||
|
||||
(defun my/get-org-roam-most-recent-dailies ()
|
||||
(let ((roam-daily-directory
|
||||
(expand-file-name "daily" org-roam-directory)))
|
||||
(when (file-exists-p roam-daily-directory)
|
||||
(last (directory-files roam-daily-directory t "^[^#\\.]") 10))))
|
||||
|
||||
(advice-add #'org-agenda
|
||||
:before
|
||||
|
|
|
|||
|
|
@ -441,6 +441,7 @@
|
|||
("C-c n t" . org-roam-dailies-capture-today)
|
||||
("C-c n i" . org-roam-node-insert)
|
||||
("C-c n j" . my/org-roam-logger-capture-current)
|
||||
("C-c n s" . consult-org-roam-search)
|
||||
:map org-mode-map
|
||||
("C-M-i" . completion-at-point))
|
||||
:commands my/get-org-roam-files-by-tags
|
||||
|
|
|
|||
Loading…
Reference in a new issue