itmammoth/doorboy.vim

Is it possible to make closing bracket on a new line if new line is entered?

Closed this issue · 2 comments

When you have the following situation:

|
(
you get (|)
< enter >
resulting :
(
|)

Can you turn on the "newline jump" when you press enter, so that the closing bracket is on a newline?

|
(
(|)
< enter >
(
|
)

It sounds good.
I'll take it 👍
Thanks.

@Dulex123 If you go with vim-endwise or other plugins taking <CR> mapping, please have a look at the https://github.com/itmammoth/doorboy.vim/blob/master/README.md#notice