Closed
Description
It would be nice to be able to reference editor information on the :sh
line.
Things like for example:
subs | description |
---|---|
$fn | filename (= $bn.$ex) |
$bn | basename |
$ex | extension |
$fp | full path |
$rp | relative path (to .git root?) |
$ln | line number |
to be able to execute things like:
:sh gh browse $fn:$ln
Of course above example is just a starting point to get the idea across.