Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 3 Newly opened file override existing file [duplicate]

Today my Sublime 3083 became corrupted! I don't know why but every time I click on a file it opens on the same tab! I cannot open two tabs at the same time. Fist file opens in a new tab and another opens in the previous tab and so on!

I did not installed any plugins recently. I just selected "Close Other Tabs" on menu.

What can I do?

Thanks

like image 454
rostamiani Avatar asked Apr 19 '15 05:04

rostamiani


People also ask

How do I change the default key bindings in Sublime Text 3?

Users can customize their key bindings by creating a file named Default. sublime-keymap in their Packages/User/ directory. For example, the following will create a key binding to show unsaved changes, if any exist, via Ctrl+Shift+`.

What does Ctrl B do in Sublime Text?

Control+B initiates a build (in the Tools menu).


1 Answers

You must open the file using double click. If you open it using single click then you're using a feature called file preview, and that file will be closed when you preview other file unless the file has changes.


In addition, in the settings file you can set the preview_on_click option to false to disable the preview option; if you do that a click on the file won't do nothing, and a double click will still open the file in a new tab. As far as I know there's no option to open the file with a single click, only you can 'preview' the file (it's similar to open but the file get closed if you preview another file). Example setting:

{
    "preview_on_click": false
}
like image 64
sergioFC Avatar answered Oct 04 '22 22:10

sergioFC