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
|
"Indent the current item (header or item), if possible. Made for
|
||||||
`org-tab-first-hook'."
|
`org-tab-first-hook'."
|
||||||
(interactive)
|
(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)
|
(org-indent-item-tree)
|
||||||
t)
|
t)
|
||||||
((org-at-heading-p)
|
((org-at-heading-p)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue