Re: .vimrc from URL

2007-01-12 Thread Charles E Campbell Jr
A.J.Mechelynck wrote: Charles E Campbell Jr wrote: OK, with all that: vim -U NONE -c set nocp|so $HOME/.vim/plugin/netrwPlugin.vim -c so scp://HOSTNAME/.vimrc Rather than -U NONE (i.e., no gvimrc) shouldn't that be -u NORC (i.e., with small u: don't source $HOME/.vimrc but do source

Re: .vimrc from URL

2007-01-11 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Maurí­cio wrote: I change my .vimrc very often, and I use vim in many computers. The result is that my changes are not always updated to all computers. Is it possible to ask vim to update its .vimrc from an URL, like an FTP address? With v108c, netrw can source

RE: .vimrc from URL

2007-01-05 Thread Hugo Ahlenius
| I change my .vimrc very often, and I use vim | in many computers. The result is that my changes | are not always updated to all computers. Mauricio, Maybe you should consider having your .vimrc (and other vim configuration files, like plugins etc) under source control? I have all my personal

Re: .vimrc from URL

2007-01-05 Thread Albie Janse van Rensburg
Hi all (Hugo, sorry about the double-post - I replied *wrong*) I find this idea of a net-vimrc very interesting, so I have made a simple .vimrc that the OP can use: === so $VIMRUNTIME/plugin/netrwPlugin.vim Nread {website}_vimrc.http sav! ~/__vimrc so ~/__vimrc

[Fwd: Re: .vimrc from URL]

2007-01-05 Thread A.J.Mechelynck
Forwarding to list. Original Message Subject: Re: .vimrc from URL Date: Fri, 5 Jan 2007 13:12:41 +0200 From: Albie Janse van Rensburg [EMAIL PROTECTED] To: A.J.Mechelynck [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED

Re: .vimrc from URL

2007-01-05 Thread Albie
Hi DrChip I have updated netrw. I then checked out a page from my ftp server using Nread ftp://morph.t.../_vimrc Then, to save it back, I used: Nwrite ftp://mo.../_vimrc Now I get a new, much improved error message:

Re: .vimrc from URL

2007-01-05 Thread Maurí­cio
I change my .vimrc very often, and I use vim in many computers. (...) Mauricio, Maybe you should consider having your .vimrc (and other vim configuration files, like plugins etc) under source control? I have all my personal vimfiles directory + .vimrc under subversion, and it works very

Re: .vimrc from URL

2007-01-05 Thread Maurí­cio
I change my .vimrc very often, and I use vim in many computers. The result is that my changes are not always updated to all computers. Is it possible to ask vim to update its .vimrc from an URL, like an FTP address? The vimrc is sourced before the global plugins, in particular before

Re: .vimrc from URL

2007-01-04 Thread A.J.Mechelynck
Maurí­cio wrote: Hi, I change my .vimrc very often, and I use vim in many computers. The result is that my changes are not always updated to all computers. Is it possible to ask vim to update its .vimrc from an URL, like an FTP address? Thanks, Maurício The vimrc is sourced before

Re: .vimrc from URL

2007-01-04 Thread Mikolaj Machowski
On pią sty 5 2007, Maurí­cio wrote: Or else, have the following at the top of the vimrc: let g:vimrcdate = 4 Jan 2007 22:49 UTC echo This vimrc was last changed on g:vimrcdate if input(Do you want to continue? ) !~? y qall! endif Since

Re: .vimrc from URL

2007-01-04 Thread Mikolaj Machowski
On pią sty 5 2007, Maurí­cio wrote: The vimrc is sourced before the global plugins, in particular before the netrw plugin. So I think the short answer is no. BTW - if netrw could directly source files over the net it could open interesting possibilities for script repositories. m.

Re: .vimrc from URL

2007-01-04 Thread A.J.Mechelynck
Mikolaj Machowski wrote: On pią sty 5 2007, Maurí­cio wrote: Or else, have the following at the top of the vimrc: let g:vimrcdate = 4 Jan 2007 22:49 UTC echo This vimrc was last changed on g:vimrcdate if input(Do you want to continue? ) !~? y

Re: .vimrc from URL

2007-01-04 Thread Mikolaj Machowski
On pią sty 5 2007, Mikolaj Machowski wrote: Mikolaj Machowski wrote: On pią sty 5 2007, Maurí­cio wrote: Or else, have the following at the top of the vimrc: let g:vimrcdate = 4 Jan 2007 22:49 UTC echo This vimrc was last changed on g:vimrcdate if input(Do you

Re: .vimrc from URL

2007-01-04 Thread A.J.Mechelynck
Mikolaj Machowski wrote: On pią sty 5 2007, Mikolaj Machowski wrote: Mikolaj Machowski wrote: On pią sty 5 2007, Maurí­cio wrote: Or else, have the following at the top of the vimrc: let g:vimrcdate = 4 Jan 2007 22:49 UTC echo This vimrc was last changed on