lang/org: fix newline-and-indent behavior in src blocks
This commit is contained in:
parent
f3d54af5dc
commit
9e141cd01b
2 changed files with 15 additions and 0 deletions
|
@ -258,6 +258,9 @@ between the two."
|
|||
|
||||
(add-hook 'org-tab-first-hook #'+org|toggle-only-current-fold t)
|
||||
|
||||
;; Fix newline-and-indent behavior in src blocks
|
||||
(advice-add #'org-return-indent :after #'+org*return-indent-in-src-blocks)
|
||||
|
||||
(map! :map outline-mode-map
|
||||
:n "^" nil
|
||||
:n [backtab] nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue