r/evilmode • u/dotancohen • Jan 05 '21
Orgmode: Automatically enter Insert mode when creating a new heading or list item.
When creating a new heading or list item with Alt-Enter it seems only natural that Evil should be in Insert mode, much how o and O add a line and leave the user in Insert mode.
How can this be configured? I'm on Emacs 26.3, Kubuntu 20.04.
7
Upvotes
View all comments
Show parent comment
1
u/tuh8888 Jan 30 '21
Rebind the key you wanted to use with the function provided by the top comment. Add this after where you defined the function.