开发者

open vim in alternate directory in windows

using vim + NERDTree in windows is a bit of a pain for me because e开发者_运维问答ach 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 ?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜