       @items.selectItemForRow(row)
       @preview()
 
-  previewNextItem: ->
-    @previewItemForDirection('next')
-
-  previewPreviousItem: ->
-    @previewItemForDirection('previous')
-
   getQuery: ->
     @editor.getTextInBufferRange(@getPromptRange())
 

      'narrow-ui:confirm-keep-open': => @confirm(keepOpen: true)
      'narrow-ui:protect': => @toggleProtected()
      'narrow-ui:preview-item': => @preview()
      'narrow-ui:preview-next-item': => @previewNextItem()
      'narrow-ui:preview-previous-item': => @previewPreviousItem()
      'narrow-ui:toggle-auto-preview': @toggleAutoPreview
      'narrow-ui:move-to-prompt-or-selected-item': => @moveToPromptOrSelectedItem()
      'narrow-ui:move-to-prompt': => @moveToPrompt()

  onDidMoveToPrompt: (fn) -> @emitter.on('did-move-to-prompt', fn)
  emitDidMoveToPrompt: -> @emitter.emit('did-move-to-prompt')

  onDidUpdateItems: (fn) -> @emitter.on('did-update-items', fn)
  emitDidUpdateItems: (event) -> @emitter.emit('did-update-items', event)

  onFinishUpdateItems: (fn) -> @emitter.on('finish-update-items', fn)
  emitFinishUpdateItems: -> @emitter.emit('finish-update-items')

  onDidMoveToItemArea: (fn) -> @emitter.on('did-move-to-item-area', fn)
  emitDidMoveToItemArea: -> @emitter.emit('did-move-to-item-area')
