开发者

Using VIM on Windows to access windows server share directory

开发者 https://www.devze.com 2023-02-24 08:15 出处:网络
In Windows Explorer I can navigate to \"\\\\servername\\shared_directory\". Is there any wa开发者_如何转开发y I can navigate to the same directory using VIM and NERDTree?

In Windows Explorer I can navigate to "\\servername\shared_directory". Is there any wa开发者_如何转开发y I can navigate to the same directory using VIM and NERDTree?

Example:

:NERDTree \\servername\shared_drirectory


I think you might want to report this behavior to the NERDTree developer. I tried it myself and no, it does not work.

You could try pulling the current NERDTree from https://github.com/scrooloose/nerdtree or writing the developer.


I don't use NERDTree, but both :browse e \\servername\shared_directory and :e \\servername\shared_directory\filename.txt work fine for me in gvim.

Playing with this a bit more, I see that the forward-slash syntax seems to even work with tab-completion (after I get the server and initial directory right, of course).

If NERDTree doesn't want to work with either //servername/directory or \\servername\directory, you might want to try executing a :lcd //servername/directory first, followed by :NERDTree ..


This issue was fixed in this branch : https://github.com/actionshrimp/nerdtree . Download nerdtree from https://github.com/actionshrimp/nerdtree/downloads

0

精彩评论

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

关注公众号