MacVim -- switch to tab where file is opened if trying to open an already-opened file
You can remap tabnew to tab drop so you will be switched to already opened files or directed to newly created file.

cnoreabbrev &lt;expr&gt; tabnew getcmdtype() == ":" &amp;&amp; getcmdline() == "tabnew" ? "tab drop" : "tabnew"