Given foo(a, b, c)
please give me an efficient way to achieve
foo({a, b, c})
.
Sorry, I could not find a suitable answer on StackOverflow.
Open to a vscode extension or a guide on how to achieve using Vscode vim. I have seen the surround plugin but couldn't figure out how to do it with jumping into Visual mode.
When on the desired paren in normal mode, try ci({}<Esc>P
.