     return unless URI = editor.getURI()
 
     if @needRemember(oldBufferPosition, newBufferPosition, cursor)
-      # @history.add editor, oldBufferPosition, URI
       @saveHistory editor, oldBufferPosition, URI, dumpMessage: "[Cursor moved] save history"
-      # @history.dump "[Cursor moved] save history"
 
   # Throttoling save to history once per 500ms.
   # When activePaneItem change and cursorMove event happened almost at once.

      # Jump to different pane
      options =
        searchAllPanes: settings.get('searchAllPanes')
        
        # initialLine: point.row
        # initialColumn: point.column



    {editor, point, URI: lastURI} = @lastEditor.getInfo()
    if not @isLocked() and (lastURI isnt item.getURI())
      @saveHistory editor, point, lastURI, dumpMessage: "[Pane item changed] save history"

    @lastEditor.set item
    @debug "set LastEditor #{path.basename(item.getURI())}"
