Answer the question
In order to leave comments, you need to log in
Vim removes auto-indentation when breaking lines. What to do?
There are curly braces and there is a cursor between them. I press enter, and I see this picture:
{
| <- Типо курсор
}
Answer the question
In order to leave comments, you need to log in
It turned out that everything is very simple (thanks, Englishmen)
:inoremap <Return> <Space><BS><Return>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question