fix(org): fix tab conflict in org-mode

Updating `org-mode` broke this slightly
This commit is contained in:
Kiana Sheibani 2024-08-14 05:00:55 -04:00
parent d2bd285776
commit 4339d4c496
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -2693,7 +2693,9 @@ While this is a complex problem, the solution is actually rather simple: just re
(map! :after org
:map org-mode-map
"TAB" nil
"<tab>" nil)
"<tab>" nil
:i "TAB" nil
:i "<tab>" nil)
#+end_src
This also means we don't need ~org-cycle~ to emulate indentation, which is nice. Unfortunately, this breaks something else: ~org-cycle~ not only handles visibility cycling, but also navigating inside tables. If ~org-cycle~ isn't being called when in insert mode, then we can't use =TAB= to move fields. This means that we need a little extra binding configuration: