-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I make org-roam's buffer look useful and nice like it does in doom emacs? #16519
Comments
I've gotten a little bit closer by copying some of doom emacs' org roam settings: https://github.com/doomemacs/doomemacs/blob/master/modules/lang/org/contrib/roam2.el
The face for the backlink filename is |
Another step: make it so backlinks show a subset of content, preferably just the line or paragraph the backlink is in, rather than the entire file: Add to configuration:
After reloading config or restarting emacs, I believe running Here's how it's looking now for me: |
I would be willing to try to improve the visual appearance of org-roam buffers (though I would prefer org-roam-ui anyway) but I need an example file and example config for org-roam. Would you be willing to provide a minimal example file and config for me @komali2? |
Wait, what's Hmm, minimal will take me a second to set up, but here's my config: https://github.com/komali2/Configs/blob/master/emacs/.spacemacs |
|
My (org
:variables
...
org-enable-roam-support t
org-enable-roam-protocol t
org-enable-roam-ui t
...
) Setting |
My org roam buffer is quite ugly in spacemacs, and basically useless, however it looks quite nice in doom emacs, when pointing to the same org-roam directory.
First, it was completely useless until I switched off
global-page-break-lines-mode
(see org-roam/org-roam#1772). Now it's at least usable, however I'd like to configure it to look very nice and usable like it does in doom emacs.Here's how it looks for me in spacemacs:
And here's how it looks for the same file in doom emacs:
I'm less concerned with font faces and more really into the automated indenting in the doom version, as well as the fact that in doom, the org roam buffer automatically refreshes when I change. Also, in Doom the buffer just functions like an org file, and I can move around it quite easily, whereas in Spacemacs I constantly get errors if I press
SPC
for example to run an arbitrary command (Wrong type argument: commandp, spacemacs-cmds
). I also like how in doom emacs, the lines actually wrap. I feel like I must have accidentally seriously misconfigured something when installing org roam.Any ideas on how to make this prettier?
My spacemacs config: https://github.com/komali2/Configs/blob/master/emacs/.spacemacs
My Doom config: https://github.com/komali2/Configs/tree/master/emacs/.doom.d
Emacs:
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-11-14
Spacemacs:
Spacemacs v.0.999.0
Edit: See below for some changes I made that made a pretty big difference. The only thing remaining is changing how the org roam buffer displays subheaders and content, e.g., instead of showing
It shows
The text was updated successfully, but these errors were encountered: