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
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
| 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
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
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
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:
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
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
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
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
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.
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
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
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
14 matches
Mail list logo