How can I click in Vim?

I want to click (or cmd + click on my Mac) the name of the function in Gvim (or vim with set mouse=a ) and run the command :tag to follow ctag, but I do not want I don’t know how to enable the mouse click in Vim mapping.

+4
source share
1 answer

Good place to start:

 :help click :help mouse 

Perhaps something like this will work:

 :map <RightMouse> :tag <CR> 
+4
source

All Articles