> Is there a normal command to yank a filename into a buffer
> based on the isfname option. Something kind of like yiw?
Based on your example, I suspect you mean "yank a filename into a
*register*", rather than a buffer. If this is the case, you can
do something like
which will put the filename under the cursor into the scrap
register. Adjust the @" for your favorite register.
This can easily be mapped like
:nnoremap <f3> :let @"=expand("<cfile>")<cr>
which will make <f3> behave like you describe. HTH,