Vim has an annoying behavior that I can't seem to condense enough to ask a search engine for a solution:
Say I have 2 windows open in tab 1, displaying file_a and file_b, and 1 open window in tab page 2, containing file_c. While in tab page 1, in the window containing file_b, I run the command
:e /path/to/file_c
What I want to happen is to open file_c in the current tab page 1 window, the one with file_b. What actually happens is that it switches me to tab page 2, which already contains file_c.
Apparently some people consider this a feature, but it's a pain to have to switch to tab page 2, close the file_c window, go back to tab page 1, and reopen it again. In other words it isn't my intention to just open file_c, I want to open file_c next to file_a.
How can I disable this "help" and get Vim to open a file where I tell it to?
EDIT: Changed "window" & "pane" to "tab" & "window", which seems to be the Vim terminology.
:e file_cwhile in the first tab,file_cappears on the first tab and i am not sent to the second tab. You may have a plugin that's causing this behavior, or you may not be asking a coherent question.:editwill load the file into the current window even if it is already shown in another window.