How to setup a custom keybinding to run a script or execute a command in Atom editor?
Asked Answered
E

1

6

Is it possible to make CMD+T keybinding run a bash script? Like for example i want to run my tests on my Heroku project, the command python manage.py test would be run if did CMD+T.

Epencephalon answered 25/8, 2016 at 13:21 Comment(0)
S
5
  1. Click on Packages --> Commmand Palette --> Select Toggle.
  2. Type Install Packages and Themes.
  3. Search for process-palette and then install it.
  4. Click on Packages --> Process Palette --> Select Toggle
  5. Create a global configuration or a project specific configuration with the respective Do it! buttons. It will create an example configuration file and open it in the graphical editor
  6. From the graphical editor, you can then configure the command you want and assign a shortcut to it :

graphical editor

Process-palette documentation

Sedillo answered 31/8, 2016 at 16:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.