Several tools such as grep, py.test, etc ... use the pattern <FileName>:<line number>: to point to errors. For example:
; grep -Hn Common setup.cfg
setup.cfg:11: Common
How can I modify vim and gvim so that I can invoke them like so:
gvim setup.cfg:11:
instead of
gvim setup.cfg +11
I know that I can write a small shell script that would parse things but I wonder if there is an easier way.
:help quickfixfor more info.gfon a (possibly relative, possibly including line and column number) reference to a file, whether in an embedded terminal or in any kind of buffer.