textobj-functioncall : The textobject plugin to select a region that calls function.
script karma |
Rating 0/0,
Downloaded by 1210 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Masaaki Nakamura |
|
script type |
utility |
|
description |
The vim textobject plugin to treat function-call-like regions.
Default mappings are assigned to 'if' and 'af'.
* 'if' and 'af', both of them select a region like 'func(argument)'.
* 'if' and 'af' behave differently when a function takes another function as its argument.
* 'if' selects the most inner function under the cursor.
* 'af' selects the first function including the cursor position by its parenthesis. However if any candidate would be found, it falls back to 'if'.
For example the cursor is on '2' of "func1(func2(argument))"
* 'if' selects "func2(argument)".
* 'af' selects "func1(func2(argument))".
This textobject could select following similar patterns.
* func(argument)
* array[index]
Latest version: https://github.com/machakann/vim-textobj-functioncall |
|
install details |
Unzip and just put all folders in your ~/.vim. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|