   do loadsearchIndex
 
   $form
-    .on 'keypress', (e)->
+    .on 'keydown', (e)->
       switch e.key
         when "Tab", "Down", "ArrowDown"
           $('#similar a:first,#results a').first().focus()

      $(@).parentsUntil('#results').removeClass('highlight')

  $(document)
    .on 'keypress', (e) ->
      switch e.key
        when "Esc", "Escape"
          $input.val('')

        selectForm()

  $results
    .on 'keydown', 'a', (e) ->
      $article = $(@).parentsUntil('#results')
      switch e.key
        when "Down", "ArrowDown"
