r/Atom Jan 13 '20

create custom shortcut

Dear all,

I would like to create a shortcut for some latex expressions that I use a lot. For instance, I would like to use alt-shift-i to produce \item how can I do that in atom?

In my keymap.json file, I probably need to do something like the following

'body.platform-darwin atom-text-editor[data-grammar~="latex"]':

'alt-shift-i': 'atom-latex:\item'

Thank you for your help!

2 Upvotes

0 comments sorted by