>> Environment variables are not expanded for the 'backupskip' option. You
>> must replace $HOME with its expanded value, or use:
>>
>> :let &backupskip = expand("$HOME") . "/gtd/wiki/*"
> ... and in addition, since spaces in directory names in 'backupskip'
> must be escaped, use
>
> :let backupskip = escape(expand('$HOME'),' ') . '/gtd/wiki/*'
That worked! Thanks a ton for the help. Also, the first option
mentioned by Bram worked (I didn't need the escape function) even though
my $HOME dir on Windows has spaces in it.
Thanks again Bram and Tony! This is a very handy line to have your vimrc
if you want to keep a potwiki and do easy "full-text" searches with
vimgrep.
Tom Purl