Emacs: Xah Fly Keys, How to Indent
Emacs Indent. How to Indent in Xah Fly Keys
indent-for-tab-command is on F7 Tab Tab
Basically that's not used in general, emacs can't do indent. Except the current line. Even if u install all the fancy external pacages. They all just do indent of one line, and next line, based on indent of prev line.
What you should do, is press a button to indent whole region, file, or all files in a dir.
I would be very interested, if anyone shows me pretty formatting of code via lsp or treesitter. e.g. say, for python, js, golang.
important: not interested in indenting. but, actual reformatting whole syntactic unit of code or whole file by parsing and rewrite. e.g. gofmt, python black, deno fmt.