Keep Sublime Text from opening duplicate tabs to a file?

0

I find it quite annoying when sublime opens a file in a new tab even if it was already opened in an existing tab. For example, say I have main.cpp open in a tab with a bunch of other files, I'm editing another file and go ctrl+p and main RET sublime would open main.cpp in another tab. There are other commands not just ctrl+p, for example f4 after a build to take me to errors, if an error was main.cpp it would open it in a new tab.

Is there a way to disable that behavior?

Edit: I'm new to Sublime. It seems that this duplication of tabs behavior happens only with certain files. I can't figure out exactly why.

vexe

Posted 2015-09-29T17:23:22.503

Reputation: 145

Answers

0

user603609

Posted 2015-09-29T17:23:22.503

Reputation: 1

If a total stranger walked up to you, handed you some unknown code, and told you to install it on your computer, would you do it? – fixer1234 – 2016-06-08T05:45:26.517

Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change. – DavidPostill – 2016-06-25T10:36:13.693