     if groups = @readConfig().groups
       @view.setGroups(groups)
 
-  openUserConfig: ->
+  openConfig: ->
     filePath = @getUserConfigPath()
 
     atom.workspace.open(filePath, searchAllPanes: true).then (editor) =>

{CompositeDisposable} = require 'atom'
fs = require 'fs-plus'
settings = require './settings'
CSON = null

configTemplate = """
# groups:
#   atom: [
#     "~/github/atom"
#     "~/github/text-buffer"
#     "~/github/atom-keymap"
#   ]
#   sample: [
#     "~/dir/hello-project"
#     "~/dir/world-project"
#   ]
"""

module.exports =
  config: settings.config

    @subscriptions.add atom.commands.add 'atom-workspace',
      'project-folder:add': => @view.start('add')
      'project-folder:remove': => @view.start('remove')
      'project-folder:open-config': => @openConfig()

  deactivate: ->
    @subscriptions.dispose()
