So I love atom. However I’ve been totally baffled by how insane is to map a snippet to a keymap.
If the whole pruprose of the snippet file is to define short snippets and expand them with a prefix, is it possible to open with a keymap?
Works perfectly. However i would like to press
ctrl+j and be able to use the snippet Something like:
However I haven’t been able to make anything like that work. So the only solution seems to make a command in the
init.coffee that writes the snippet directly on the editor and then assign that command to the
keymap.cson… that is rather silly, considering you can do that kind of stuff really easily in Sublime.
Am I doing this wrong? I see all the questions related always end up pointing to the
init.coffee custom command solution which makes a bit useless a consolidate of my snippets file (I end up rewriting the snippet into coffeescript code so i can have both behaviors, tab autocomplete and keymapped).
Thank you all!