title: key map sublimeREPL commands in Sublime Text 2
body: <p>I'm trying to map keyboard shortcuts for SublimeREPL plugin commands. Looking at SublimeREPL it looks like a menu item command is defined as:</p>
  
  <p><a href="https://github.com/wuub/SublimeREPL/blob/master/config/Scala/Default.sublime-commands" rel="nofollow">Default.sublime-commands</a>
      {
          "caption": "SublimeREPL: SBT for opened folder",
          "command": "run_existing_window_command", "args":
          {
              "id": "repl_sbt",
              "file": "config/Scala/Main.sublime-menu"
          }
      }</p>
  
  <p>or in </p>
  
  <p><a href="https://github.com/wuub/SublimeREPL/blob/master/config/Scala/Main.sublime-menu" rel="nofollow">Main.sublime-menu</a></p>
  
  <pre><code>               {"command": "repl_open",
                   "caption": "SBT for opened folder",
                   "id": "repl_sbt",
                   "mnemonic": "b",
                   "args": {
                      "type": "subprocess",
                      "encoding": "utf8",
                      "external_id": "scala",
                      "cmd": {"linux": ["sbt"],
                              "osx": ["sbt"],
                              "windows": ["sbt"]},
                      "soft_quit": "\nexit\n",
                      "cwd": "$folder",
                      "cmd_postfix": "\n", 
                      "extend_env": {"osx": {"EMACS": "1", "PATH": "{PATH}:/usr/local/bin"},
                                     "linux": {"EMACS": "1", "PATH": "{PATH}:/usr/local/bin"},
                                     "windows": {"EMACS": "1"}},
                      "suppress_echo": false, 
                      "syntax": "Packages/Scala/Scala.tmLanguage"
                      }
                  } 
  </code></pre>
  
  <p>I've tried making a keybinding in my SublimeREPL.sublime-settings to:</p>
  
  <pre><code>[{ "keys": ["super+shift+k"], "command": "run_existing_window_command", "args":
          {
              "id": "repl_sbt",
              "file": "config/Scala/Main.sublime-menu"
          }
  }]
  </code></pre>
  
  <p>But when I try to use it the Sublime console just says:</p>
  
  <blockquote>
    <p>no command for selector: noop:</p>
  </blockquote>
  
  <p>Same if I map it to:</p>
  
  <pre><code>[{ "keys": ["super+shift+k"],  "command": "repl_open",
                   "args": {
                      "type": "subprocess",
                      "encoding": "utf8",
                      "external_id": "scala",
                      "cmd": {"linux": ["sbt"],
                              "osx": ["sbt"],
                              "windows": ["sbt"]},
                      "soft_quit": "\nexit\n",
                      "cwd": "$folder",
                      "cmd_postfix": "\n", 
                      "extend_env": {"osx": {"EMACS": "1", "PATH": "{PATH}:/usr/local/bin"},
                                     "linux": {"EMACS": "1", "PATH": "{PATH}:/usr/local/bin"},
                                     "windows": {"EMACS": "1"}},
                      "suppress_echo": false, 
                      "syntax": "Packages/Scala/Scala.tmLanguage"
                      }
  
  }]
  </code></pre>