Fakevim follow symbol under cursor
-
hello im trying to map
gdfor "following symbol under the cursor" using fakevim, in qml it works only if the symbol is defined in another file but not for symbols defined in the same file. I also see that there is a default command^tag?$but I have no idea what that regular expression does or how to map it in the vimrc file
this is my current ex command:

and the mapping in vimrc
noremap gd :gotodec<CR>and it works when the symbol is defined in another file, and behaves the same with properties, JS variables and functions.Does anyone know how to make this work properly? I just want to press
gdand that it follows the symbol under the cursor like in non-vim mode. -
Let me just bump this. I have the same question and am in general not clear about the command/mapping mechanics.
One more example (of several) I don't get:
I assigned the "Ex Trigger Expression"rbtoRebuild projectand i can type:rb- but it always builds without cleaning. In contrast, when I select the same corresponding menu item (mouse click), it does rebuild with an initial cleaning step.