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"
qall!
endif
Since this requires specific .vimrc OP can explicitly source netrw
at the beginning of .vimrc; open net address; write it to temporary
file; source that file; remove temporary file.
m.
I repeat: when the vimrc is sourced, the plugins (such as netrw) are NOT YET
sourced. So if the vimrc tries to issue
:view http://users.example.net/firstname.lastname/vim/vimrc
there will be an error: "invalid filename", "path not found", "file not
found", whatever. The Net will not be accessed because netrw is not yet available.
Best regards,
Tony.