Hi there, I’m developing a new package for Atom and I’m having a problem in binding the ESC button with the view. I tried to follow the find-and-replace code to get an idea of how to do it but I haven’t been very successful.
I usually prefer to discover stuff on my own but I’ve spent the last weekend banging my head on it so I’m here asking for some help.
This is the package: https://github.com/stesix/comment-this
Can someone give it a check and tell me what I’m not figuring out? At the moment it’s a little bit spaghetti-code since as soon as I have an idea I adapt the code.
Thank you in advance
EDIT: Given my coffeescript knowledge, any suggestion for improving the coding is also very welcome. Thanx