From 976970ecb9cea511cea0512f191e4b57fb9e77e0 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 29 Jun 2017 11:15:20 -0600 Subject: Don't split the line on M-RET to create a new org-mode heading --- config.org | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index ac37638..20265d3 100644 --- a/config.org +++ b/config.org @@ -416,8 +416,15 @@ Start org-indent-mode. This displays a single indented star instead of many stars in org-mode headings. #+BEGIN_SRC emacs-lisp -(setq org-startup-indented t - org-src-fontify-natively t) +(setq + ;; Indents headers instead of displaying all of the asterisks + org-startup-indented t + + ;; Use emac's syntax highlighting for SRC block + org-src-fontify-natively t + + ;; Don't split the line when hitting M-RET for a new heading + org-M-RET-may-split-line '((item . nil))) #+END_SRC ** Key Bindings Define the keybindings for org-mode related things -- cgit v1.2.1