Is there a way to get vim's gf
command (or something similar) to recognize a +{cmd}
argument for file-paths?
One can start vim and go directly to a search term by doing:
$ vim +/coding_effort ~/project/file
Similarly, in command mode you can do:
:e +/coding_effort ~/project/file
I often take notes and refer to other files like this:
For more info see +/coding_effort ~/project/file where there's a detailed discussion.
I'd love to be able to select +/coding_effort ~/project/file
, type something like gf
, and have vim do the right thing.