lang/org: fix backtab not outdenting items/headers
This commit is contained in:
parent
824abaf2e6
commit
c935f3e4da
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue