In addition to previous message... If cursor is at the beginning of indented line and I hit Enter to insert empty line above, indentation disappears. I.e. if True: a = 12 If cursor at line 2 pos 4, hit Enter, then empty line is properly inserted. However if it is at line 2, pos 1, Enter, then I end up with if True: a = 12