I'm trying to modify project.vim to open the project window on the right side instead of in the left. I see several references in the source to "vertical new", "vertical split" and "vertical resize". Trying them I see that a new vertical split is opened to the left, but I can't find how can I make a new vertical split open (or move) to the right side. I know the command Control-W + r will move the window to the right, but I don't know how this is done using vimscript.
Press Ctrl + W and then (after releasing Ctrl + W ) press the arrow keys to change the pane. Show activity on this post. It is very useful to use set mouse=a in your .
Try changing vertical new
to rightbelow vertical new
.
Also, see :help vertical
and all the friends listed just after it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With