This is a Vim plugin to provide text objects for functions.
You can directly operate a function (af
) or
the code inside a function (if
).
For example,
daf
to Delete A Function, or
vif
to Visually select the code Inside a Function.
The syntax of a function is varied for each language. Currently C language and Vim script are supported. And this plugin is pluggable. It's easy to support your favorite languages too.
See also the reference manual for more details.