     @getDOMNode().addEventListener 'focus', @onFocus
     @refs.scrollView.getDOMNode().addEventListener 'overflowchanged', @onOverflowChanged
 
-  listenForCustomEvents: ->
-    {editor, mini} = @props
-
-    @addCustomEventListeners
+  listenForCommands: ->
+    {parentView, editor, mini} = @props
+
+    @addCommandListeners
       'core:move-left': => editor.moveCursorLeft()
       'core:move-right': => editor.moveCursorRight()
       'core:select-left': => editor.selectLeft()

        # 'core:page-up': => @pageUp()
        # 'editor:scroll-to-cursor': => @scrollToCursorPosition()

  observeConfig: ->
    @subscribe atom.config.observe 'editor.fontFamily', @setFontFamily
    @subscribe atom.config.observe 'editor.fontSize', @setFontSize

    @measuredLines = new WeakSet

    @listenForDOMEvents()
    @listenForCommands()
    @observeEditor()
    @observeConfig()
    @startBlinkingCursors()
