thomasjo / atom-latex

Compile LaTeX or knitr documents from within Atom
https://atom.io/packages/latex
MIT License
223 stars 42 forks source link

Key binding not working #517

Closed TiansuYu closed 5 years ago

TiansuYu commented 5 years ago

Since the default keybinding does not work on Mac, I tried to edit save the following code into my keybinding map:

'atom-text-editor[data-grammar~="latex"]':
  'shift-enter': 'latex:build'

and uncheck the default keyubinding box within latex-atom. However, this does not generate a workable keybinding.

I'm new at the key map thing, so if you could, please tell me what's wrong.

Thanks.

TiansuYu commented 5 years ago

Sorry, I tried this again. It turns out the reason is that I didn't uncheck the box (or even know its existence before), which causes the key map couldn't override the default binding.