     treeView.focus()
     @disableHoverEvents() if disableHoverEvents
 
+  # hide the tree view
   hide: (noDelay) ->
     width = atom.config.get 'autohide-tree-view.hiddenWidth'
     transitionDelay = if noDelay then 0 else atom.config.get 'autohide-tree-view.hideDelay'

    @subs.add 'atom-workspace', 'mouseleave', '.tree-view-resizer.autohide.autohide-hover-events', =>
      @hide()

    @subs.add atom.commands.add 'atom-workspace',
      'autohide-tree-view:toggle-enabled': => @toggleEnabled()
      'autohide-tree-view:enable': => @enable()

    @hide true
    @enabled = true

  # disable autohide behavior
  disable: ->
    treeViewEl.classList.remove 'autohide'
    treeViewEl.classList.remove 'autohide-hover-events'
