NERDTree Load Particular Directory Automatically

前端 未结 3 1313
栀梦
栀梦 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:25

    From the NERDTree help-file: :NERDTree [ | ] *:NERDTree* Opens a fresh NERD tree. The root of the tree depends on the argument given. There are 3 cases: If no argument is given, the current directory will be used. If a directory is given, that will be used. If a bookmark name is given, the corresponding directory will be used. For example: > :NERDTree /home/marty/vim7/src :NERDTree foo (foo is the name of a bookmark)

提交回复
热议问题