views:

186

answers:

1

In gVim if the cursor is over a filename (like "C:\Program Files\Vim\vim71\README.txt" ) which contains spaces then using 'gf' fails.

I found the isfname option but the documentation says one should avoid using spaces.

Is there I can make gVim open files under these circumstances ?

+5  A: 

You can select text in visual mode and then do a gf on it, that get's round the problem to some extent.

Benj