mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/org: fix backtab not outdenting items/headers
This commit is contained in:
@ -348,10 +348,15 @@ another level of headings on each invocation."
|
||||
(not (eq evil-state 'insert)))
|
||||
nil)
|
||||
((org-at-item-p)
|
||||
(org-indent-item-tree)
|
||||
(if (eq this-command 'org-shifttab)
|
||||
(org-outdent-item-tree)
|
||||
(org-indent-item-tree))
|
||||
t)
|
||||
((org-at-heading-p)
|
||||
(ignore-errors (org-demote))
|
||||
(ignore-errors
|
||||
(if (eq this-command 'org-shifttab)
|
||||
(org-promote)
|
||||
(org-demote)))
|
||||
t)
|
||||
((org-in-src-block-p t)
|
||||
(org-babel-do-in-edit-buffer
|
||||
|
Reference in New Issue
Block a user