Reputation: 12752
using vim + NERDTree in windows is a bit of a pain for me because each time I start vim and toggle NERDTree, NERDTree takes a long time caching my whole /Windows/system32 directory.
In order to avoid that, how can I create a shortcut to open vim in say C:\users\me\vim ?
Upvotes: 2
Views: 246
Reputation: 42258
You can add somewhere in your .vimrc.
cd C:\users\me\vim
It will change the working directory of your Vim instance.
According to :help starting.txt
.vimrc is loaded before plugins.
Upvotes: 1