M
M
Mikhail R2012-02-25 00:58:40
vim
Mikhail R, 2012-02-25 00:58:40

Newline in VIM/MacVIM

How do I make line breaks in vim line up the same as the line I'm wrapping with. Perhaps I'm explaining myself incorrectly, I'll try to explain with an example . There is such a code, I want it to be on a separate line, I press the enter key after and it wraps to the next line but at the beginning of an empty line, and I want it to be aligned under . I'm just starting to use vim so the question is probably very simple, but this little thing is very unnerving. Thank you!

function test() {
func1(); func2();
}


func2();func1();func2();func1();


Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shadowalone, 2012-02-25
@russum

Read carefully habrahabr.ru/blogs/vim/64224/
You will discover a lot of new things for yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question