wokalski / Distraction-Free-Xcode-plugin

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

Toggle back to normal mode? #37

Closed RobertGummesson closed 8 years ago

RobertGummesson commented 9 years ago

I like the idea of this plugin but I couldn't find a way to leave the distraction free mode once I had entered it. How do I toggle back and forth?

Once in distraction free mode, I had to restart Xcode to get back to normal mode.

wokalski commented 9 years ago

Just do command+W to exit. It opens a new fullscreen window. You can exit from it the same as you would exit from Any other fullscreen window.

RobertGummesson commented 9 years ago

Ah, that worked. Thanks. (I never go fullscreen otherwise)

gblazex commented 8 years ago

Shouldn't this be more straightforward?

e.g. both the menu item & shortcut should do toggle ? (trigger once goes into distraction free mode, next trigger reverts to standard mode)

cc @wczekalski

benkane commented 8 years ago

Completely agree, the same shortcut should act as a toggle. You are toggling amode. It doesn't matter that behind the scenes it's a full screen window. The point is to turn a mode on/off. Every other editor ever that I can think of implements this as a toggle.

wokalski commented 8 years ago

You're right guys. I should've thought about it. I don't have time to implement it this weekend (might do it on Sat) though. If any of you finds some time pull requests are welcome!

thomasvalera commented 8 years ago

+1

wokalski commented 8 years ago

:+1: fixed. It improves the UX indeed