NERDTree Load Particular Directory Automatically

前端 未结 3 1315
栀梦
栀梦 2021-02-20 10:53

I\'m using gvim in windows.By default nerdtree loads C:\\ drive as default.I like to change it to E:\\ drive.How to achieve this?

Whenever I try to start NERDTree using

3条回答
  •  滥情空心
    2021-02-20 11:39

    In my vimrc file,I use this autocmd vimenter * NERDTree G:\.The G:\ should be set your default drive,but, it's only the NERDTree's work dir. add cd G:\change the vim start work dir.Just like Jeromy Anglim said that.

提交回复
热议问题