mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: tab = cycle folds if in emacs state
Tab should only be changed for evil users in insert mode, since they have fold cycling functionality available in normal mode and vanilla users do not.
This commit is contained in:
@ -389,8 +389,7 @@ another level of headings on each invocation."
|
||||
Made for `org-tab-first-hook' in evil-mode."
|
||||
(interactive)
|
||||
(cond ((not (and (bound-and-true-p evil-local-mode)
|
||||
(or (evil-insert-state-p)
|
||||
(evil-emacs-state-p))))
|
||||
(evil-insert-state-p)))
|
||||
nil)
|
||||
((org-at-item-p)
|
||||
(if (eq this-command 'org-shifttab)
|
||||
|
Reference in New Issue
Block a user