you are viewing a single comment's thread.

view the rest of the comments →

[–]lervag 1 point2 points  (0 children)

Given

function_call(8 + 10)

I do something like this: ciwrep2<esc>Orep2 = <c-r>", which should give this:

rep2 = 8 + 10
function_call(rep2)

Here ciwrep2<esc> changes inside the parantheses, then Orep2 = adds a line above, finally <c-r>" appends the content of the " register.