jonathanperret / paysage

Paysage is a visual shared playground for code.
http://paysage.xyz
GNU Affero General Public License v3.0
20 stars 9 forks source link

Add a shortcut for the goLive button from the editor #93

Closed etienneCharignon closed 6 years ago

etienneCharignon commented 6 years ago

It uses ctrl-alt-g on windows or linux (if I understand) and cmd-alt-g on mac.

I've been testing on Mac and I would be glad if someone could validate on windows and linux.

jonathanperret commented 6 years ago

Pretty neat that ACE can handle shortcuts!

JsBin and JSfiddle both use cmd/ctrl+enter to run code, could this work? A bit easier to discover/remember than ctrl+alt+g

juliendorra commented 6 years ago

I second meta+enter, it seems to not conflict with a browser shortcut. Nice if it is coherent with other web code scratch pads as user can use their learned habits. (Not sure about ctrl - alt - g? It should be safe too)

etienneCharignon commented 6 years ago

91

jonathanperret commented 6 years ago

Great!