diff mode and non gui mode will not auto open NERDTree