Vim, NERDtree and remote files editing

2,409 views
Skip to first unread message

caruso_g

unread,
Dec 13, 2009, 3:53:14 AM12/13/09
to vim_use
Hi,
I am using Vim to edit files downloading them with a FTP application
(Transmit) that just makes me choose "edit with" in is contextual
menu. I also use the excellent NERDtree plugin to browse folders and
files.

Is there a way to use directly Vim to edit remote files (like in
modern IDE)? And, more, is there a way to also use NERDtree to do
that?

Thank you all.

Scott Bicknell

unread,
Dec 13, 2009, 11:20:18 AM12/13/09
to vim...@googlegroups.com
caruso_g wrote:
> Is there a way to use directly Vim to edit remote files (like in
> modern IDE)? And, more, is there a way to also use NERDtree to do
> that?
>
http://www.vim.org/scripts/script.php?script_id=1075 provides support
for that.

--
Have you tried Linux?

Tony Mechelynck

unread,
Jan 31, 2010, 5:10:20 AM1/31/10
to vim...@googlegroups.com, caruso_g

see :help pi_netrw.txt

For instance:

:view ftp://ftp.vim.org/pub/vim/patches/7.2/README

to see the latest "table of contents" of the patches for Vim 7.2.

Similarly, :e[dit]ing or :vie[w]ing a remote directory (with the ending
slash in the filename!) should display a directory listing.


Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
252. You vote for foreign officials.

Marc Weber

unread,
Jan 31, 2010, 8:20:58 AM1/31/10
to vim_use

> Is there a way to use directly Vim to edit remote files (like in
> modern IDE)? And, more, is there a way to also use NERDtree to do
> that?

If you're using Linux or Mac you can mount FTP locations.
However you should either switch swap files off then or put them into a
different location.

Marc Weber

Reply all
Reply to author
Forward
0 new messages