• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

alias-command

Register existing commands with new names
  • #alias
  • #command
hurrymaplelad
1.0.1 636
4
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Atom aliasCommand

A 'lil utility to register existing commands with new names. Useful if you're conditioned to look for a different name, like Package Control: Install.

Getting Started

> apm install alias-command

From you init.coffee (You can open this via Application: Open Your Init Script):

aliasCommand = atom.packages.getLoadedPackage('alias-command').requireMainModule()
 
aliasCommand 'tree-view:move',
  orig: 'tree-view:rename'
 
aliasCommand 'package-control:install',
  orig: 'settings-view:install-packages-and-themes'
 
# Takes an optional scope for commands that should only 
# appear when a particular element has focus 
aliasCommand 'grammar-selector:set-syntax',
  orig: 'grammar-selector:show'
  scope: 'atom-editor'

Running Tests

> apm test

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by