Am 18.01.2011 16:05, schrieb Jürgen Krämer:
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%
or
d%
You have to take of possibly trailing commas manually.
2.) Again, put the curson on "b" and press
diw%x``x
or
df(])x
dwx])x
Regards,
Jürgen
--
Andy
--
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