wokalski / Distraction-Free-Xcode-plugin

Experience ZEN in Xcode. Distraction free mode, styled after Sublime
MIT License
51 stars 6 forks source link

Wrong Hotkey #44

Closed sebastianludwig closed 8 years ago

sebastianludwig commented 8 years ago

The menu item shows ctrl+shift+cmd+Z as hotkey. However, I've to press ctrl+shift+cmd+Y to activate the distraction free mode.

wokalski commented 8 years ago

It has probably something to do with your local settings. Isn't your keyboard QWERTZ?

sebastianludwig commented 8 years ago

Yes. Well it's a custom keyboard layout, based on the U.S. layout and I swapped Z and Y.

wokalski commented 8 years ago

Ah, Ok. Could you click the View menu and look up the shortcut there?

sebastianludwig commented 8 years ago

That reads ctrl+shift+cmd+Z.

wokalski commented 8 years ago

I get it. How did you create the "custom layout"? Did you use Karabiner or something similar? If yes then the issue is that the system thinks you use US layout, therefore there would be Z in this place.

sebastianludwig commented 8 years ago

I used Ukelele to create a true keyboard layout. I put it in my [Dropbox](https://dl.dropboxusercontent.com/u/4701827/U_S_uki_keylayout.zip in) in case you want to try.

wokalski commented 8 years ago

It's the same issue basically and I cannot help here. The system thinks you use the US layout. Closing.

sebastianludwig commented 8 years ago

Shouldn't cmd+Z to Undo be mapped wrongly then, too?

wokalski commented 8 years ago

I switched to German layout for a minute (I know Y and Z are swapped there too) and I got the following behavior:

  1. When I undo I have to click cmd+Y (it is Z in the current layout)
  2. When I enter the distraction free mode I have to click cmd+shift+ctrl+Y (also Z in the current layout)
wokalski commented 8 years ago

@sebastianludwig the important thing though is that OS X tells me to click Z (wrong). My final thesis is that it's hardware related or completely messed up. I'd suggest to file a radar. If I still don't understand something don't hesitate to explane it to me.