Cursor moves automatically to the beginning of the line

whenever I enter a new line, if i don’t write anything, the cursor moves back to the beginning of the line after some seconds. How can i keep the cursor in position?

Probably it’s my stupidity, but i was looking around and haven’t found how to modify this behavior.


This is weird. I cannot think of any setting to do that, it doesn’t make sense.

Do you see anything strange in any other buffer when that happens? Example in *Messages* or any other logging buffer?

I’d start trying bisecting the config.el (commenting out stuff until it stops doing that) or other custom config files (if you have any).

Well, it’s good to know that is not the expected behavior.

no, no messages

But I will investigate my config.el to find what con be causing that.