From 14d234d1827c3fbd01401fe0db7bb3ebbe904721 Mon Sep 17 00:00:00 2001 From: Gertjan Reynaert Date: Tue, 17 Nov 2015 16:39:21 +0100 Subject: [PATCH] Add option to register aliasses --- lib/ex.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ex.coffee b/lib/ex.coffee index 684b2f6..71fc153 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -71,6 +71,9 @@ class Ex @registerCommand: (name, func) => @singleton()[name] = func + @registerAlias: (alias, name) => + @singleton()[alias] = @singleton()[name] + quit: -> atom.workspace.getActivePane().destroyActiveItem()