babel / babel-sublime-snippets

Next generation JavaScript and React snippets for Sublime
https://babeljs.io
263 stars 47 forks source link

question: How to assign keybinding? #4

Closed chiefjester closed 9 years ago

chiefjester commented 9 years ago

I'm on a mac, using the default keybinding:

{
    "keys": ["ctrl+shift+,"],
    "command": "insert_snippet",
    "args": {
      "name": "Packages/Babel Sublime Snippets/react_wrap.sublime-snippet"
    }
  }

I highlight a jsx and try to press ctrl+shift+, and nothing happens, tried using different combination as well, super+shift+m for example.

Not sure if this is an ST3 bug but any help is much appreciated.

zertosh commented 9 years ago

Sorry again @deezahyn. The README just had the wrong directory - that should fix it. Reaching it via the Command Palette should've still worked.

Fun fact: The development directory is not the same as the install directory. I kinda never checked what directory it would actually install to.

chiefjester commented 9 years ago

works! I kinda missed that as well lol, thank you for the fast fix.