In this page we see the following:
" yank path to current file to Windows clipboard with forward slashes
nnoremap yf :!echo %"c:gs!\!/! %i | clip<cr>
However, with this in my configuration file, if I navigate to a file, say "C:/temp/myfile.txt", and press "yf", my clipboard will contain:
including the quotation marks. Ideally, I think the clipboard should contain:
How we would go about achieving this? Any help would be appreciated.