 
       disposable = editor.onDidDestroy =>
         disposable.dispose()
-        @editorSubscriptions.remove(disposable)
-      @editorSubscriptions.add(disposable)
+        @subscriptions.remove(disposable)
+      @subscriptions.add(disposable)
 
   jump: (direction, withinEditor=false) ->
     return unless editor = atom.workspace.getActiveTextEditor()


    handleCapture = ({target}) ->
      return unless shouldSaveLocation(target)
      activeEditor = atom.workspace.getActiveTextEditor()
      oldLocation = getLocation('mousedown', activeEditor)
      locationStack.push oldLocation

    handleBubble = ({target}) =>

  deactivate: ->
    @subscriptions.dispose()
    @subscriptions = null
    settings.dispose()
    @history?.destroy()
    @history = null
