Add option to register aliasses
This commit is contained in:
parent
5773c8f47b
commit
14d234d182
1 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ class Ex
|
|||
@registerCommand: (name, func) =>
|
||||
@singleton()[name] = func
|
||||
|
||||
@registerAlias: (alias, name) =>
|
||||
@singleton()[alias] = @singleton()[name]
|
||||
|
||||
quit: ->
|
||||
atom.workspace.getActivePane().destroyActiveItem()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue