GravityProject / gravity

Open source social network built with Meteor
MIT License
131 stars 62 forks source link

Submit post by shift + enter #118

Closed cycorld closed 8 years ago

cycorld commented 8 years ago

How about implementing 'shift + enter' as a short key for submit post?

zaverichintan commented 8 years ago

Yea can be done. Is it really that essential? What others feel like?

pmuens commented 8 years ago

Great. There's a library called mousetrap which is kinda nice: https://craig.is/killing/mice

Here you can see how it would be used (although it's CoffeeScript code): https://github.com/Goltfisch/james/blob/master/client/views/workspaces/workspace.coffee#L189-L200

mattvella07 commented 8 years ago

Yea I think this would be pretty cool too. I can work on this, unless someone else has already started.

pmuens commented 8 years ago

Great! I think no one else is on it!

mattvella07 commented 8 years ago

Done!

cycorld commented 8 years ago

Great!