Is there an option in VIM to auto-intend (like in Espresso) lines which are too long to be displayed in the current window so that they get an automatic line break?
This is how it looks like in Espresso:
You want your wrapped lines to not go completely to the left but instead respect indentation, right?
I don't think there is a way to do that. Sorry.
In Normal mode, type
:set wrap
so that long lines are wrapped. This doesn't add a '\n' newline, or any indent, it just moves it to a new screen line.
Or,
:set textwidth=78
gggqG
to reformat an entire document to fit within a certain line width. (It does this automatically for new lines typed, and you can also use gqap
to format a single paragraph.