NERDTreeToggle always makes it show up on the left side. I'd like to make it show up on the right. Is it possible to do that?
If you're inside the NERDTree buffer you can select the folder and press C to change the NERDTree root directory.
Save the changes, open Vim, and then toggle NERDTree with Ctrl + n .
It seems like nerdtree is only open within 1 tab, so by switching to the other, the dir tree disappears. if NewdTree tab is closed, use ":NERDTreeFocus" to reopen it.
Add this line to your .vimrc
:
let g:NERDTreeWinPos = "right"
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