rzyns / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Can't map <D-LeftMouse> or <D-S-LeftMouse> #378

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to remap some of the mouse events to do a "forward search" in TeX. 
Command-shift-click is the sequence in Skim, so I'd like to have the same in 
MacVim:
:noremap <D-S-LeftMouse> <LeftMouse>ihello<ESC>
None of the <D-{Mouse}> events seem to be recognized when I try to remap them. 
See
http://stackoverflow.com/questions/7504337/how-do-i-remap-control-shift-leftmous
e-in-gvim/
for more discussion

Original issue reported on code.google.com by johnson.seth.r@gmail.com on 22 Sep 2011 at 2:08

GoogleCodeExporter commented 9 years ago
This is a core Vim issue.  Support for the cmd key in mouse events has not been 
implemented.  Patches should be sent to the vim_dev Google group.

Original comment by bjorn.winckler@gmail.com on 22 Sep 2011 at 3:30