   registerCommands: ->
     atom.commands.add @editorElement,
       'core:confirm': => @confirm()
-      'narrow-ui:preview-item': => @confirm(preview: true)
+      'narrow-ui:preview-item': => @preview()
       'narrow-ui:toggle-auto-preview': => @toggleAutoPreview()
       # 'core:cancel': => @refresh()
 
   isAutoPreview: -> @autoPreview
-  toggleAutoPreview: -> @autoPreview = not @autoPreview
+  toggleAutoPreview: ->
+    if @autoPreview = not @autoPreview
+      @preview()
 
   getItems: ->
     Promise.resolve(@provider.getItems())

    buffer.onDidChange ({newRange}) =>
      return unless (newRange.start.row is 0)
      @refresh()

  confirm: (options={}) ->
    point = @editor.getCursorBufferPosition()

      return if textChanged
      @updateGutter(newBufferPosition)
      if @isAutoPreview() and (oldBufferPosition.row isnt newBufferPosition.row)
        @preview()

    @editor.getTitle = => ["Narrow", @provider?.getTitle()].join(' ')
    @editor.isModified = -> false
