Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Change key-bind? #85

Open
manavortex opened this issue Mar 14, 2017 · 2 comments
Open

Change key-bind? #85

manavortex opened this issue Mar 14, 2017 · 2 comments

Comments

@manavortex
Copy link

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
Copy link
Owner

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
Copy link
Contributor

zaerald commented Sep 29, 2018

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?

<extension
point="org.eclipse.ui.bindings">
<key
commandId="it.unibz.instasearch.ui.ShowInstaSearch"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M4+M3+I">
</key>
</extension>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants