vim - surround text with function call

Viewed 2328

I want to wrap some code :

myObj.text;

with a function call where the code is passed as an argument.

console.log(myObj.text);

I've thought about using surround.vim to do that but didn't manage to do it.

Any idea if it's possible ? I

3 Answers
Related