If you are using Spacemacs, install org-roam by creating a simple
layer that wraps Org-roam. Paste the following into a new file
If you are using Spacemacs, install org-roam by creating a simple layer that
wraps Org-roam. Paste the following into a new file
`~/.emacs.d/private/org-roam/packages.el`.
```emacs-lisp
@ -101,9 +83,10 @@ list in your `.spacemacs` configuration file. Reload (`SPC f e R`) or
restart Emacs to load `org-roam`. It's functions are available under
the prefix `SPC a r` and `, r` when visiting an org-mode buffer.
### Doom Emacs
## Doom Emacs
If you are using [Doom Emacs](https://github.com/hlissner/doom-emacs), configure packages as explained in the [getting started](https://github.com/hlissner/doom-emacs/blob/develop/docs/getting_started.org#configuring-packages) guide.
If you are using [Doom Emacs][doom], configure packages as explained in the
[getting started][doom-getting-started] guide.
Declare Org-roam as a package in your `~/.doom.d/packages.el`:
@ -131,28 +114,8 @@ Subsequently, in your `~/.doom.d/config.el` file, configure Org-roam:
(org-roam-mode +1))
```
## Completion Support
Org-roam supports inserting links on-the-fly via [company-mode](http://company-mode.github.io/). This is achieved by providing the company backend `company-org-roam`.

You may install it the following way using straight: