Closed Pilgrim1379 closed 3 years ago
Please post what command TAB
is bound to in that buffer: C-h k TAB
should tell you this. Generally it should be bound to the default (indent-for-tab-command
) or a well-behaved replacement (e.g. company-indent-or-complete-common
). Most likely explanation is that Spacemacs is doing something clever which accidentally subverts the correct behaviour.
Ah! it's bound to better-jumper-jump-forward
. Never even heard of that before. How do I overwrite that behaviour?
That's a bit out of scope for discussion here, sorry, I'm not familiar with Spacemacs' config: best to ask there.
I'm using doom emacs and I have zero additional
elm
config in myconfig.el
file. According to the above, what I expect is, when I enter a new line and the indent cycle (n) shows in the status line (and without touching any key prior), I can hit the TAB key to cycle through to find the right indent level for my purpose.However, what happens for me is, when I hit TAB first time, nothing happens i.e. cursor doesn't move. Then subsequent TABs just keep moving the cursor along without cycling.