The question is somewhat straightforward. To open a vertical split, I use: :vs. When opening a vertical split, I'd like to initialize it with a file directly.If I do :vs myfile.txt this will move the file I am currently working on to the right and open myfile.txt on the left of the split.Rather, I would like the opposite to happen: the file I am working on before the vertical split stays on the left, and myfile.txt opens on the right of the split.
How to change the location of a new vertical split?
split
You should use::botright vsp myFile.txtSee :h botright:Execute {cmd}.  If it contains a command that splits a window,          it will appear at the bottom and occupy the full width of the          Vim window.  When the split is vertical the window appears at          the far right and occupies the full height of the Vim window.EDIT Credit goes to ingo for this one:You can make botright the default behavior by using the splitright option in your vimrc. In this configuration topleft can be used to open a split on the left.