How to indent with tab only when i am positioned before the start of the text of the line

I am using keymap.of([indentWithTab]) so wherever i press the Tab I get an indentation; I would like to get a different behavior: when i press tab before the text of the line I would like to get an indent, instead when I press tab in the middle of the text of the line I would like to get a certain number of spaces, starting from the column where I am positioned.
Is it possible to get this behavior by setting an option or I have to try myself?
Thanks in advance

You’d have to implement such a command yourself.

Found out that running function insertTab instead of indentMore you get exactly what I was looking for