ajermakovics / eclipse-instasearch

Eclipse plug-in for fast code search
http://marketplace.eclipse.org/content/instasearch
Eclipse Public License 2.0
170 stars 48 forks source link

Change key-bind? #85

Open manavortex opened 7 years ago

manavortex commented 7 years ago

Hey there,

I love this plugin - I've been dying to find a Notepad++-like "Find in project"-function for ages. However, I'd like to change the key bind to Ctrl+Shift+F (yes, I've been beating my Eclipse to work more like Notepad++...) Is this possible? I don't mind hacking a file if I have to, just point me to the right location.

Thank you for your work!

ajermakovics commented 7 years ago

Hi!

It might be possible to change the key binding via Eclipse preferences. If not, I think the default one is defined in here https://github.com/ajermakovics/eclipse-instasearch/blob/master/instasearch/plugin.xml#L204 but it's been a while so I might be mistaken.

zaerald commented 6 years ago

Hi,

We could change the key binding of instasearch from M4 to M1

M1 is the COMMAND key on MacOS X, and the CTRL key on most other platforms .... M4 is the CTRL key on MacOS X, and is undefined on other platforms

But changing the current key bind to M4+M3+I results to a conflict with other key binding. which I propose to change it or add another key modifier which results to M1+M2+M3+I.

What do you think?

https://github.com/ajermakovics/eclipse-instasearch/blob/cdd25713f7e092579667992ebcc931d9c1639f4b/instasearch/plugin.xml#L190-L197