lang/org: add evil insert check to +org|indent-maybe
This commit is contained in:
parent
7b70aa9b7d
commit
5b92c3d99f
1 changed files with 4 additions and 1 deletions
|
@ -288,7 +288,10 @@ with `org-cycle'). Also:
|
|||
"Indent the current item (header or item), if possible. Made for
|
||||
`org-tab-first-hook'."
|
||||
(interactive)
|
||||
(cond ((org-at-item-p)
|
||||
(cond ((and (bound-and-true-p evil-mode)
|
||||
(not (eq evil-state 'insert)))
|
||||
nil)
|
||||
((org-at-item-p)
|
||||
(org-indent-item-tree)
|
||||
t)
|
||||
((org-at-heading-p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue