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-cli yarn 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 file open-in-atom README.md # Open a directory open-in-atom . # Open a directory and some files under it open-in-atom . README.md package.json
Using with other apps
You can set atom-open as your EDITOR for some apps. Here it is working with ranger (eg,