diff --git a/lib/ex.coffee b/lib/ex.coffee index 0e46110..d8b87b2 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -110,7 +110,9 @@ class Ex @singleton()[alias] = (args) => @singleton()[name](args) @getCommands: () => - Object.keys(@singleton()) + Object.keys(Ex.singleton()).concat(Object.keys(Ex.prototype)).filter((cmd, index, list) -> + list.indexOf(cmd) == index + ) quit: -> atom.workspace.getActivePane().destroyActiveItem()