micro
micro copied to clipboard
Automatically indent files
Description of the problem or steps to reproduce
Imagine that I'm editing a python file:
if somevar == "something":
The moment I press enter, it should automatically add 4 spaces (or tabs or whatever, depending on config) to the newline because python expects that. All other editors (kate, vscode) do this by default. Maybe I'm missing something, but I don't see an option to enable it on micro.
Specifications
Commit hash: b9763856 OS: Arch Linux Terminal: Konsole Config:
{
"mkparents": true,
"tabstospaces": true
}