     range
 
   setSyncToEditor: (editor) ->
-    @syncSubcriptions?.dispose()
     @syncSubcriptions = new CompositeDisposable
-    @syncSubcriptions.add atom.workspace.onDidStopChangingActivePaneItem (item) =>
-      @syncToEditor(editor) if item is editor
-
-    @syncSubcriptions.add editor.onDidStopChanging =>
-      # Skip is not activeEditor, important to skip auto-refresh on direct-edit.
-      @refresh(force: true) if isActiveEditor(editor)
-
     @syncSubcriptions.add editor.onDidChangeCursorPosition (event) =>
       if isActiveEditor(editor) and
           (not event.textChanged) and

    @syncSubcriptions.add @onDidRefresh =>
      @syncToEditor(editor) unless @isActive()

  # vim-mode-plus integration
  # -------------------------
  vmpActivateNormalMode: ->

    if @provider.boundToEditor
      items = _.reject(@items, (item) -> item.skip)
    else
      # Item must support filePath
      filePath = editor.getPath()
      items = @items.filter((item) -> not item.skip and (item.filePath is filePath))

