Skip to content

Simple :sh command substitutions #3134

Closed
@aikomastboom

Description

@aikomastboom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-helix-termArea: Helix term improvementsC-enhancementCategory: Improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions