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 confortabl
Try adding
let NERDTreeMapOpenInTab='\r'
or
let NERDTreeMapOpenInTab='<ENTER>'
to your .vimrc.
.vimrc
HTH