VIM: How can i open a file at right side as vsplit from a left side NerdTree panel?

To make vsplit put the new buffer on the right of the current buffer:

set splitright

Similarly, to make split put the new buffer below the current buffer:

set splitbelow

I haven’t tried this with NerdTree, however.

Leave a Comment