     @editorElement = @editor.element
     @emitter = new Emitter
     @subscriptions = new CompositeDisposable
-
-    # @modeManager = new ModeManager(this)
-    # @mark = new MarkManager(this)
-    # @register = new RegisterManager(this)
-    # @hover = new HoverManager(this)
-    # @hoverSearchCounter = new HoverManager(this)
-    # @searchHistory = new SearchHistoryManager(this)
-    # @highlightSearch = new HighlightSearchManager(this)
-    # @persistentSelection = new PersistentSelectionManager(this)
-    # @occurrenceManager = new OccurrenceManager(this)
-    # @mutationManager = new MutationManager(this)
-    # @flashManager = new FlashManager(this)
-    # @searchInput = new SearchInput(this)
-    # @operationStack = new OperationStack(this)
-    # @cursorStyleManager = new CursorStyleManager(this)
     @previousSelection = {}
     @observeSelections()
 

  isAlive: ->
    @constructor.has(@editor)

  destroy: ->
    return unless @isAlive()
    @constructor.delete(@editor)


    else
      @activate('normal')

    @editor.onDidDestroy(@destroy)
    @constructor.vimStatesByEditor.set(@editor, this)

  getConfig: (param) ->
