i am trying to use the mouse for search as in VIM "super *"\ shift-mouse1 search.
used the highlight-symbol mode to get (almost) the desired behavior for the keyboard search, but I can't find a way to do the same for the mouse. I tried:
(require 'highlight-symbol)
(global-set-key [(control f3)] 'highlight-symbol-at-point)// <- works for the keyboard
(global-set-key [(control shift mouse1)] 'highlight-symbol-at-point)
but when i'm trying Ctrl-Shift-Mouse1 it doesn't search for the mouse current location, but the cursor's current location.
is there a way for me to get teh mouse current position for function use?
the highlight-symbol
uses things-at-point
, but i couldn't find a similar package for the mouse.