If I have opened in vim a file with the following contents
I currently have to type
to open that file for editing.
I'd prefer to have a command that automatically uses the current line.
Even better would be taking the visual selection instead of the whole line or even pattern matching since of course in the real file it looks like this
<a [...] href="bar/baz.html" [...]>
It should be possible to define a custom command for that in the .vimrc but I don't know how.