How to open a file in new tab by default in NERDTree?

alice picture alice · Dec 30, 2011 · Viewed 35.8k times · Source

I want a file to be opened in a new tab when I enter or double click it. I know there is t shortcut but I always open a file in a new tab and enter is more confortable for me.

Answer

alex picture alex · Jul 2, 2018

s will open the file currently under the cursor in a new vertically split window. Use t to open in a new tab.