Aubrey Portwood

Using VIM with NERDTree over FTP/SFTP using ExpanDrive in Windows 7

| Permalink

[iframe width=”100%” height=”380″ src=”″]

Note: ExpanDrive did not support regular FTP and was really slow saving/etc.

Now that I am using Vim, I noticed that I was having problems editing files over FTP/SFTP. I couldn’t use NERDTree and my other client, WinSCP, would open a new window (or tab) of gVim when I used an external editor. I wanted to browse an FTP/SFTP natively so that I could use NERDTree and edit as if I was editing locally.

The solution I found was using ExpanDrive, a program that mounts FTP/SFTP locally as a Windows drive. Once I mounted a drive, and chose a file to edit, I could use NERDTree to browse for more or use :vsp and drag a file on that split.

In the video I show it off a little.