Open IllustratedMan-code opened 1 year ago
This was talked about before in another issue, but neovim did not support the required functionality. What needs to occur to get this to work? I'm happy to make issues in the main neovim repository to get this to happen.
Are the virtual spaces just used for non-headline text or is the second space for each headline level also virtual?
* foo
content <-- two virtual spaces
** bar <-- one virtual space?
more content <-- four virtual spaces
without org-indent-mode
* foo
content
** bar
more content
with org-indent-mode
* foo
content
** bar
more content
I believe all indents are virtual.
Ah, it's prepending two virtual spaces to every line, even nested headings.
This
* one
foo
** two
bar
*** three
baz
becomes
org-indent-mode
is also configurable with org-indent-indentation-per-level
which is my case is set to 2. So the number of virtual spaces prepended should be configurable.
Looks like https://github.com/neovim/neovim/pull/9496 needs to be merged before this functionality will be possible.
@kristijanhusak can you please add the neovim-dependency
label?
See #561
This feature is now added as experimental in https://github.com/nvim-orgmode/orgmode/pull/627#issuecomment-1910981114.
Please give it a test and see how it works.
The following stills remains to be done: (Checked means done)
#+STARTUP: indent
& #+STARTUP: noindent
org-indent-mode-turns-on-hiding-stars
like EmacsI'll be opening PRs to resolve these as time permits. Probably no later than Sunday 2024-28-01
.
Does this feature exist in Emacs orgmode core?
Yes
Orgmode link
https://orgmode.org/manual/Org-Indent-Mode.html
Feature value
No response
Additional context
No response