Sublime Text 3: do not close tabs automatically

I am browsing the code of a large JavaScript library using Sublime Text 3. Therefore, I need to open many tabs and switch between them to capture the code link of the code. However, Sublime closes the "unused" tabs automatically for me.

How to disable it? I googled but cannot find a solution. I found a shortcut ctrl+shift+t to restore the last closed file, but this is not enough. I need to turn off automatic closing, and it would be better if someone showed me a short key for "displaying and selecting a file from all open files." Thanks.

+6
source share
3 answers

When you click on a file in the sidebar once, Sublime displays it in the form of "temp", which is overwritten the next time you click on the file. To open a file in the โ€œpermanentโ€ tab, which remains open even when other files open, you just need to double-click the file in the sidebar.

+11
source

A more direct solution, which I find slightly preferable, at least until I retrain to double-click when I want the tab to remain open:

In the settings, set preview_on_click to false .

This is not exactly what I want, since all he does is disable the behavior to open the preview tab with one click - thereby forcing the user to always double-click. But perhaps working this way for a week or so, I can retrain my deep-rooted assumptions and return to the default behavior.

+1
source

Double-click this file in the left sidebar, which you do not want to close automatically.

0
source

Source: https://habr.com/ru/post/1208201/


All Articles