Atom Command line with JetBrains (IntelliJ/WebStorm) shortcuts

Elvis Ciotti
Jan 5, 2022

--

If you need a lightweight editor to edit some content/notes, but IntelliJ is too slow to start, you can use the free Atom.

Install Atom

Download from here

Command line (Mac OSX)

Paste this into your bash init file (~/.zshrc or ~/.bash_profile)

atom() { open -na "Atom.app" --args "$@" }

or place the following into `/usr/local/bin/atom`

#/bin/sh
open -na "Atom.app" --args "$@"

To use, just type atom ~/your-dir or atom ~/path/to/your-file

Set Webstorm/IntelliJ shortcuts

Follow the instructions here

  • open the Atom menu, and select Install Shell Commands
  • apm install intellij-idea-keymap

--

--

Elvis Ciotti
Elvis Ciotti

Written by Elvis Ciotti

Software Contractor — Java, Spring, k8s, AWS, Javascript @ London - hire me at https://elvisciotti.github.io/

No responses yet