Allows you to set up multiple configs in atom and easily switch between them.
It's recommended to make a copy of your atom config (
~/.atom/config.cson) before installing asm2!
You can install this package in the Atom setting or using apm (If you have installed the Atom Shell commands):
$ apm install asm2
Once asm2 is installed, it will create a
asm2 folder in your atom config folder (normally located in
Like the default atom config the configuration files for asm2 are written in cson.
Your config files are stored in the
~/.atom/asm2/configs/ folder. You can open this folder from within atom using the menu bar (Packages -> asm2 -> Open config folder).
You can simply put multiple config files there.
If you create a config file named for example
code-js-standart.cson asm2 will attempt to load
code.cson. Config settings in
code-js-standart.cson will override settings in for example
This way you don't have to define all your config settings in every config file. You can simply depend on your default config and make the changes you want to make.
Selecting a config will override your old config, make sure to backup your old config file (
Once you have created a couple config files you can open Atom and select a config by pressing ctrl-alt-o or using the menu bar (Packages -> asm2 -> Set config).
You can change the keybinding in your keymap (the command is
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.