mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 09:14:34 +05:30
Fixes org agenda following roam containers
This commit is contained in:
parent
b4a6a2099d
commit
d2fb3e1e5b
|
@ -961,7 +961,9 @@ tasks."
|
|||
(interactive)
|
||||
(org-agenda-switch-to)
|
||||
(if (f-exists-p (concat (dir!) "/org-roam.db"))
|
||||
(org-roam-switch-db (f-filename (f-parent (dir!))) t))
|
||||
(org-roam-switch-db (replace-regexp-in-string (concat "\\/home\\/" user-username "\\/Org\\/") "" (f-parent (dir!))) t))
|
||||
(if (f-exists-p (concat (f-parent (dir!)) "/org-roam.db"))
|
||||
(org-roam-switch-db (replace-regexp-in-string (concat "\\/home\\/" user-username "\\/Org\\/") "" (f-parent (f-parent (dir!)))) t))
|
||||
(org-roam-olivetti-mode)
|
||||
)
|
||||
|
||||
|
|
|
@ -1117,7 +1117,9 @@ On Wayland, EAF doesn't work.
|
|||
(interactive)
|
||||
(org-agenda-switch-to)
|
||||
(if (f-exists-p (concat (dir!) "/org-roam.db"))
|
||||
(org-roam-switch-db (f-filename (f-parent (dir!))) t))
|
||||
(org-roam-switch-db (replace-regexp-in-string (concat "\\/home\\/" user-username "\\/Org\\/") "" (f-parent (dir!))) t))
|
||||
(if (f-exists-p (concat (f-parent (dir!)) "/org-roam.db"))
|
||||
(org-roam-switch-db (replace-regexp-in-string (concat "\\/home\\/" user-username "\\/Org\\/") "" (f-parent (f-parent (dir!)))) t))
|
||||
(org-roam-olivetti-mode)
|
||||
)
|
||||
|
||||
|
@ -1294,6 +1296,7 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
|
|||
"d" 'ibuffer-mark-for-delete
|
||||
"q" 'kill-buffer
|
||||
(kbd "<return>") 'ibuffer-visit-buffer)
|
||||
|
||||
#+END_SRC
|
||||
** Dired Configuration
|
||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||
|
|
Loading…
Reference in a new issue