I'm having a hard time figuring this out. I'm typing the following with the help of the AutoClose.vim plugin:
function trim() {|}
| is the position of my cursor. What I want to achieve is as soon as I hit enter the code should look like:
function trim() {
|
}
Instead, what happens now is:
function trim() {
|}