Keep auto indentation when exit insert mode

When opening a new line, the indent is not solid, when exit Insert mode or cursor moved vertically, the indent will clear automatically.
I wonder if there is a way to keep the indentation when exit Insert mode, and only clear the indentation when cursor moved vertically.
Peek 2023-12-24 09-25