Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 3: do not close tabs automatically

Tags:

sublimetext3

I am navigating the code of a big JavaScript library using Sublime Text 3. So I need to open a lot of tabs and switch between them to capture the code co-reference. However, Sublime closes 'unused' tabs automatically for me.

How to disable it? I googled but cannot find a solution. I find a shortcut ctrl+shift+t to restore the most recent closed file, but that is not enough. I need to disable the automatic closing, and that would be better if someone shows me the short key to "display and select a file from all open files". Thanks.

like image 577
Joy Avatar asked Dec 03 '14 02:12

Joy


People also ask

How do I close all tabs in sublime without saving?

For Sublime Text 3, doing rm ~/. config/sublime-text-3/Local/* and following that up with ps -aux| grep "subl" and kill <pid> does the trick.

How do I close a sublime text tab?

Hit ctrl+f4 to close a single tab.


1 Answers

When you single-click on a file in the sidebar, Sublime displays it in a "temp" view that is overwritten the next time you single-click on a file. To open a file in a "permanent" tab that stays open even when other files are opened, you simply need to double-click on the file in the sidebar.

like image 188
MattDMo Avatar answered Oct 01 '22 16:10

MattDMo