How to configure a custom key binding to run a script or execute a command in the Atom editor?

Is it possible to make CMD+T keybinding run a bash script? For example, I want to run my tests in a Heroku project, the python manage.py test command will be run if CMD+T

+5
source share
1 answer
  • Click Packages โ†’ Commmand Palette โ†’ Choose Switch .
  • Type Install Packages and Themes .
  • Find the process palette , and then install it.
  • Click Packages โ†’ Process Palette โ†’ Choose Switch
  • Create a global configuration or a specific project configuration using the corresponding Do it! Buttons . He will create an example configuration file and open it in a graphical editor
  • In the graphics editor, you can configure the desired command and assign a shortcut to it:

graphics editor

Technology Palette Documentation

+4
source

All Articles