syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.69k stars 4.89k forks source link

Pressing enter at the end of a list item should create a new list item #15128

Closed 01abhishekjain closed 1 year ago

01abhishekjain commented 3 years ago

I want org-mode to default to alt-enter when under bullets, so that for bullets I can just press enter to make a new bullet.

So for instance:

Banana Apple Kiwi [MOUSE CURSOR HERE] When I press enter, I want the following behavior (which happens when I press M-enter):

Banana Apple Kiwi [MOUSE CURSOR HERE] Instead of:

Banana Apple Kiwi [MOUSE CURSOR HERE]

This used to be the behaviour until I recenty updated Spacemacs to the latest version. Not sure which version I was on previously.

smile13241324 commented 2 years ago

Feature request, PRs are welcome 👩‍💻

ajain-bst commented 2 years ago

Thing is, it's not a new feature request as this has been the default behaviour on a recent earlier version of Spacemacs.

lebensterben commented 2 years ago

@ajain-bst there's no change to the bindings in org-mode recently.

https://github.com/syl20bnr/spacemacs/blame/develop/layers/%2Bemacs/org/packages.el#L357-L358

lebensterben commented 2 years ago

this is a low-hanging fruit. Anyone interested in this could submit a PR s.t. it adds a new layer config variable that swap the binding of RET and M-RET.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!