When editing JavaScript, I usually have to do this:
function myFunc() {
I tried several closing plugins, such as AutoClose and vrackets, but when I came to the code as shown above, they all do it:
function myFunc() {<CR> |}
How can I get Vim to insert a in front of the bracket when I jump to a new line and draw the cursor correctly like this:
function myFunc() {<CR> |<CR> }
Is there a plugin or something that does this?
source share