Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM custom function definition / location

Tags:

vim

I have problem with basic VIM function:(I tried googling and cannot find the answer)

  1. How can I list all custom function.(I did :function and cannot find my custom function)
  2. How can I get the definition of the function in the custom function list (or where they are stored).

Thank you for your help

like image 260
kite Avatar asked Jul 24 '26 07:07

kite


1 Answers

Suppose your function is called MyFunction, then the following works for me:

:verbose function My<tab>

(for <tab> I mean actually press tab)

if your function is loaded in vim it should show up there and you can see where it was defined.

like image 119
skeept Avatar answered Jul 26 '26 21:07

skeept