I'm just trying out Atom for the first time and I find it bothersome that Atom keeps opening a new window for each file I click on - I'd prefer that it defaulted to opening each file in the same window.
I'm hoping for something along the lines of "open_files_in_new_window" : false,
in Sublime. Unfortunately, all the google results I'm seeing just lament that this toggle is not immediately obvious.
In your terminal you can type atom -a <filename||folder>
and the file(s) will open within the same atom window.
Per the atom -h
command, one should open files with -n=false
or --new-window=false
argument passed so that they are opened in an existing window, e.g.
atom -n=false ~/Desktop/test.py
One could make atom -n=false
an alias of atom
in the ~/.bashrc
or ~/.zshrc
file, or one could edit the corresponding file in /home/<your username>/.local/share/applications
so that the command it invokes is, for instance, /usr/lib/atom/atom -n=false %F
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With