Enter insert mode indented in VIM
An answer to this question on Stack Overflow indicates that:
'
cc
' will replace the contents of the current line and enter insert mode at the correct indentation
An answer to this question on Stack Overflow indicates that:
'
cc
' will replace the contents of the current line and enter insert mode at the correct indentation