Reputation: 11181
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.
Upvotes: 14
Views: 9175
Reputation: 1
Just in the editor window, drag the open tab by mouse onto the window you need.
Upvotes: -1
Reputation: 2288
Go to Settings > Packages, look for the tabs package. In the settings for this package, choose "use preview Tabs".
Upvotes: 3
Reputation: 241
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
.
Upvotes: 2
Reputation: 189
In your terminal you can type atom -a <filename||folder>
and the file(s) will open within the same atom window.
Upvotes: 10