Open a file in Atom from the terminal without lag 🏎️
This package lets you open files from the command line. Atom already lets you do this with their
atom CLI helper, but this one is freaking instantaneously fast.
Install open-in-atom-cli bin using npm or yarn:
npm install -g open-in-atom-cliyarn global add open-in-atom-cli
(Alternatively, you can just copy the shell script
open-in-atomto your PATH.)
Then install the companion Atom package, open-in-atom-pkg:
apm install open-in-atom-pkg
open-in-atom <file> in your terminal. It will open your files instantly, instead of waiting 5 seconds for the official Atom CLI.
# Open a fileopen-in-atom README.md# Open a directoryopen-in-atom .# Open a directory and some files under itopen-in-atom . README.md package.json
You can set atom-open as your EDITOR for some apps. Here it is working with ranger:
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.