Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I force TAB in org-mode to properly align plain lists?

When using org-mode, I frequently write plain lists using either '-' or numbers. When I move to the next line using RET then TAB, the cursor always moves eight spaces beyond the start of the line instead of aligned with the list "marker" above.

This screenshot should be helpful to see what I mean...

alt text http://www2.ryankaskel.com/misc/images/screenshots/emacs-org-mode-tabs_20100603.png

Thanks for your help, Ryan Kaskel

like image 342
Ryan Kaskel Avatar asked Dec 04 '25 17:12

Ryan Kaskel


2 Answers

Try M-return (i.e., org-meta-return); I think it does what you want, and more.

like image 147
huaiyuan Avatar answered Dec 06 '25 09:12

huaiyuan


You should also check out org-indent-mode.

like image 23
Arima Avatar answered Dec 06 '25 09:12

Arima



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!