Option to auto-indent on new line (not in class, function, if block)

Where could I find the option to auto-indent new lines?

Majority of the time PHPStorm knows to use the same indent inside of a control flow block (e.g. if, for, function). But for script lines not in a block of text, it seem to ignore the indent.  

With IdeaVim installed, I basically want the same level of indent as the line I was on previously when I press 'o' or 'O' (in normal mode) or 'Enter' (in edit mode).

Thanks!

Please sign in to leave a comment.