mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
Dumb indent on TAB when in middle of subtree
This commit is contained in:
@@ -360,6 +360,12 @@ Made for `org-tab-first-hook' in evil-mode."
|
|||||||
((org-in-src-block-p t)
|
((org-in-src-block-p t)
|
||||||
(org-babel-do-in-edit-buffer
|
(org-babel-do-in-edit-buffer
|
||||||
(call-interactively #'indent-for-tab-command))
|
(call-interactively #'indent-for-tab-command))
|
||||||
|
t)
|
||||||
|
((and (save-excursion
|
||||||
|
(skip-chars-backward " \t")
|
||||||
|
(bolp))
|
||||||
|
(org-in-subtree-not-table-p))
|
||||||
|
(call-interactively #'tab-to-tab-stop)
|
||||||
t)))
|
t)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
Reference in New Issue
Block a user