gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
614 stars 44 forks source link

Key Conflict on Mac #23

Closed MarioRicalde closed 12 years ago

MarioRicalde commented 12 years ago

{ "keys": ["ctrl+super+d"], "command": "show_diff" },

There's a conflict with the System "Define"

gornostal commented 12 years ago

So, you're saying that ctrl+super+d will never work on Mac inside Sublime? I just want to make sure that Mac owners who have already installed Modific don't use default key binding for this command.

If it's true, I will probably change this to something else. Any suggestions? (preferably xxx+xxx+d)

owend commented 12 years ago

I noticed this too... that shortcut maps to the system Dictionary...

So let's see what's used already:

ctrl+super+d = dictionary option+super+d = show/hide dock shift+super+d = existing sublime "duplicate line" shortcut

It's not very "mac-like" but the existing ctrl+alt+d style windows/linux shortcuts would also work on a mac, they seem to be unassigned and it seems like a reasonable option since then it would be consistent across platforms.

Another option is ctrl+shift+d (and etc). This is what I remapped them to in my local settings file.

Btw, I only came here to open a separate issue, which I will do now. :)