title: how to set jump to method definition key binding in sublime 3 for tern-js
body: <p>i've installed the <a href="http://emmet.io/blog/sublime-tern/" rel="nofollow noreferrer">tern-js</a> plugin for sublime 3, however for some reason I cannot make its command work with sublime's key bindings (I'm a sublime nube btw) according to the documentation.. <code>ternjs_jump_to_definition</code> is supposed to be a valid command.</p>
  
  <p>So i put this in the default <code>(OSX).sublime-keymap</code> file:</p>
  
  <pre><code>{ "keys": ["super+ctrl+j"], "command": "ternjs_jump_to_definition"},
  { "keys": ["super+ctrl+r"], "command": "ternjs_reload"},
  </code></pre>
  
  <p>I also put this.. still didn't work:</p>
  
  <pre><code>{ "keys": ["super+ctrl+j"], "command": "ternjs_jump_to_definition", "context":
      [
              { "key": "has_next_field", "operator": "equal", "operand": true }
      ]
  }
  </code></pre>
  
  <p>any idea what's going on wrong? I know that tern-js <em>is</em> installed.. because typing <code>Ctrl+Space</code> for code completion actually works: </p>
  
  <p>any idea what I'm doing wrong? I simply want typing command+ctrl+j to jump to method definition. </p>
  
  <p>Also I looked at the default sublime 3 jump to method definition (ie alt+command+down), and it only works on the same file even if i add libraries to the project. (I'm using <a href="https://www.mapbox.com/" rel="nofollow noreferrer">mapbox</a>, which works on top of <a href="http://leafletjs.com/" rel="nofollow noreferrer">leaflet</a>).</p>
  
  <p><img src="https://i.stack.imgur.com/40Nsa.png" alt="enter image description here"></p>