I have the following function:
fu! EditFileInBrowser()
let l:url = @+
let l:url = substitute(l:url, 'http:\/\/127\.0\.0\.1:4000\/', '', '')
let l:url = substitute(l:url, '/$', '', 'g')
let l:url = substitute(l:url, '-', ' ', 'g')
let l:file = '~/vimwiki/webnotes/' . l:url . '.md'
echom l:file
edit l:file
endfu
It keeps trying to edit the string l:file
. I want to edit the value of the variable l:file
, of course.