-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Newline with o and enter creates list item #2
Comments
Hey @tami5 , I'm not able to reproduce the bug, or I don't understand it completely. When I have this:
And I press Enter, I get this:
And for todo item, this:
Becomes this:
I do not override functionality for either
|
Oh I see so the indentation is default behavior. is there away to disable it? Indeed, is mapped to compe related function but when I changed back to
I'm sure I have something conflicting somehow, I'll investigate more in the morning. Thanks for confirming |
Emacs orgmode has electric-indent-mode, but from what I see, this completely removes indentation, which means that this:
Becomes this:
But this also means that all indentation is disabled. So if you have something like this:
Pressing
If you want to insert additional headline below you can use
Becomes:
|
FWIW I actually thought the indentation was a nice touch, not to derail this issue but if there is some change made can it be optional so it can be maintained for anyone who also likes this behaviour. That being said I'm not an orgmode expert should the next line after the todo be indented. To me it seems like it should so the asterixes are on the left marking each todo and all the content of the todo is indented e.g.
|
Do your
If you have
If it does and you want this to persist, add to your config something like:
Or just add the |
Hey @talw , Indeed I had format option o but even after removing it and ending up with Thanks so much @talw |
No problem! I'm glad I could be of some help. I guess all that's left is to try and remove each time a different letter so that you can pinpoint exactly which letter causes it, and once you do, as you said, just set an autocmd to remove it from |
Hey @kristijanhusak, awesome work, I had to the chance to give orgmode.nvim a try and intending to switch to it soon.
Describe the bug
Pressing enter on a section create new indented list list.
Pressing enter on a todo section creates a indent line.
I feel this intentional behavior and I wonder if I can disable it somehow or is there an alternative way to create sub item in normal and insert mode
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A normal enter/o should act as expected.
Emacs functionality
not sure
System information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: