Hi,
Dennis Benzinger schrieb:
>
> How can I remove one call from nested function calls?
>
> For example if I want to remove the call to function b from
> a(b(c(1), 2), 3) so that I get either a(3) (Deleting the call and the
> parameters) or a(c(1), 2, 3) (Deleting only the call and keeping the
> parameters).
1.) Put the cursor on "b" and press
diwd%
You have to take of possibly trailing commas manually.
2.) Again, put the curson on "b" and press
diw%x``x
Regards,
Jürgen
--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php