org-roam-find-file doesn't show contents of roam directory
borgauf opened this issue · comments
In your next-to-final step after restarting Emacs
Invoke org-roam-find-file by typing C-c n /, and then press TAB to let Emacs list the titles of your files...
I am not shown the contents of my roam directory, just a blank mini-buffer. But if I invoke org-roam-find-directory
I do get my roam directory where the two files new-file.org and second-file.org. I can chose these, and then, yes, org-roam seems to know about them, i.e., I invoke the backlink buffer and see that my two files created in the previous guide are noted.
Also, in this guide you don't establish a roam directory, i.e., (org-roam-directory "~/Dropbox/org/roam/")
This is my init based on what you say here and the main org-roam readme Installation section
(use-package org-roam
:ensure t
:hook
(after-init . org-roam-mode)
:custom
(org-roam-directory "~/Dropbox/org/roam/")
:bind (:map org-roam-mode-map
(("C-c n l" . org-roam)
("C-c n f" . org-roam-find-file)
("C-c n g" . org-roam-graph))
:map org-mode-map
(("C-c n i" . org-roam-insert))
(("C-c n I" . org-roam-insert-immediate))))
(global-set-key (kbd "C-c n r") #'org-roam-buffer-toggle-display)
(global-set-key (kbd "C-c n b") #'org-roam-switch-to-buffer)
(global-set-key (kbd "C-c n d") #'org-roam-find-directory)
(global-set-key (kbd "C-c n c") #'org-roam-db-build-cache)
(require 'company-org-roam)
(push 'company-org-roam company-backends)
Disclaimer: I didn't start this guide with emacs -Q
, rather, my existing Emacs/org-mode config.
In your config, org-roam-find-file appears to be bound to a different keyword ("C-c n f" . org-roam-find-file).
Does this work, instead of "C-c n /"?