acejump/AceJump

Fix default shortcut on Mac

klikh opened this issue · 8 comments

Currently default shortcut on Mac is Cmd+;
But it is already mapped to "Project Structure".
I propose to use the same shortcut as for Windows: Crtl+;

+1 for this remap.

Just fyi, you can go into File->Settings-Keymap, search for "AceJump", and change the shortcut to whatever you need. I do need to change the default for Macs to something else, but I also need to buy a Mac to test it myself. Anyone got $3000 I can borrow? :P

As a workaround, I may just prompt the user to set up the shortcut themselves after it is initially installed to clear up any confusion.

Yes, setting shortcut by myself is ok, but situation when after installation plugin has conflicting shortcut with default InteliiJ Idea mapping looks dirty :)

If you need tester for Mac, count me in.

John, I don't think that prompting on start is a good idea. Better to change the shortcut so that it doesn't conflict with default shortcuts in the IDE (if it still conflicts with some other 3rd-party plugins, it is not a problem).

Here are the names of two default Mac keymaps if you need them:

<keyboard-shortcut keymap="Mac OS X" first-keystroke="ctrl SEMICOLON"/>
<keyboard-shortcut keymap="Mac OS X 10.5+" first-keystroke="ctrl SEMICOLON"/>

I agree it's better to provide a good default, but I would prefer that the user knows that they can change the shortcut to the most comfortable shortcut to them available. To me, ctrl+; is a very comfortable/convenient shortcut on Windows, but others may disagree.

On a funny side note, I'm writing a plugin to help teach keyboard shortcuts and there's a grand total of 402 shortcuts in Intellij. It's hard to find anything that's not already being used :)

All that being said, I'll update/add your suggested keymap shortcuts tomorrow for the quickest fix. Thanks.

Totally agree that it is hard to find a good unused shortcut for IntelliJ nowadays :)

If you write a keyboard shortcut teaching plugin, you probably have seen an existing plugin KeyPromoter that solves related task. Here is the link in case you didn't see it yet: http://plugins.intellij.net/plugin?pr=idea&pluginId=4455

Yeah, I've seen Key Promoter. My approach will be very different.
On Sep 14, 2012 4:04 AM, "Kirill Likhodedov" notifications@github.com
wrote:

Totally agree that it is hard to find a good unused shortcut for IntelliJ
nowadays :)

If you write a keyboard shortcut teaching plugin, you probably have seen
an existing plugin KeyPromoter that solves related task. Here is the link
in case you didn't see it yet:
http://plugins.intellij.net/plugin?pr=idea&pluginId=1003


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-8556829.

Looking forward for your new plugin then.