Hi,

Tom Purl wrote:
>
> I've become a very big fan of using the pyGTD <http://96db.com/pyGTD/>
> script from within Vim 7.  pyGTD creates file output that looks
> similar to this:
> 
>     3.61 1:00 Get your hair cut
>               C=0 P=4 CRC=33B0 I=4 U=4 T=1H [EMAIL PROTECTED],@Work ID=5
>               [./inboxes/Shopping-Errands.txt]
> 
>     3.61 1:00 Cancel Comcast cable internet service
>               C=0 P=4 CRC=A32D I=4 U=4 T=1H D=2006-06-21 [EMAIL 
> PROTECTED],@Work ID=7
>               [./inboxes/Shopping-Errands.txt]
> 
> On Linux, I'm able to place my cursor over the file names between
> brackets and navigate to them using the `gf` command.  On Windows,
> however, I get the following error:
> 
>     E447: Can't find file "[./inboxes/Shopping-Errands.txt]" in path
> 
> `gf` works without the brackets on Windows, so I guess I need to find a
> way to filter out the brackets when I use that command.  Does anyone
> have a clue as to how I can do this?  Or would this be considered a bug?

have a look at

  :help 'isfname'

This options determines which characters are valid in a file name. To
remove the brackets execute

  :set isfname-=[
  :set isfname-=]

Regards,
Jürgen

-- 
Jürgen Krämer                              Softwareentwicklung
HABEL GmbH & Co. KG                        mailto:[EMAIL PROTECTED]
Hinteres Öschle 2                          Tel: +49 / 74 61 / 93 53 - 15
78604 Rietheim-Weilheim                    Fax: +49 / 74 61 / 93 53 - 99

Reply via email to