 
   kinds = ["Operator", "Motion", "TextObject", "InsertMode", "MiscCommand", "Scroll"]
   generateSummaryTableForCommandSpecs: (specs, {header}={}) ->
+    _ = require 'underscore-plus'
+
     grouped = _.groupBy(specs, 'kind')
     str = ""
     for kind in kinds when specs = grouped[kind]

    console.log 'total', inspect(total)

  reload: (reloadDependencies) ->
    packages = ['vim-mode-plus']
    if reloadDependencies
      packages.push(settings.get('devReloadPackages')...)

    deactivate = (packName) ->
      console.log "- deactivating #{packName}"

    atom.commands.add('atom-text-editor', "vim-mode-plus:#{name}", fn)

  clearDebugOutput: (name, fn) ->
    {normalize} = require('fs-plus')
    filePath = normalize(settings.get('debugOutputFilePath'))
    options = {searchAllPanes: true, activatePane: false}
    atom.workspace.open(filePath, options).then (editor) ->
      editor.setText('')
