micro icon indicating copy to clipboard operation
micro copied to clipboard

Automatically indent files

Open MenacingPerson opened this issue 3 years ago • 0 comments

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
}

MenacingPerson avatar May 19 '22 06:05 MenacingPerson