     rawTemplate: template
 
     events:
-      "keydown": "onKeyDown"
       "click .settings": "openSettings"
 
     initialize: ->


      @keepFocused()
      @escapeClose()

      App.on "load.commands sync.commands",  =>
        return unless @$input

    openSettings: ->
      Extension.trigger "open.settings"

    onKeyDown: (e) =>
      return unless App.open
      e.stopPropagation()
      preventDefault = true
      unless App.loading
        switch e.which
