1

enter image description here

When I type o, it will insert a new line, and it is exactly new line without any indentation. The cursor will go to the beginning.

How can I insert a new line with the indentation of the line above?

1
  • 7
    Have you tried :set autoindent?
    – saginaw
    Jan 24 '16 at 17:14

Browse other questions tagged or ask your own question.