Skip to content

Open $VISUAL / $EDITOR on "v" keypress #2763

Open
@grantoz

Description

@grantoz

When using a pager app, I expect to be able to use key v as you would in more / less to invoke $EDITOR

Right now on MacOS (Ventura), doing so results in the error dialog Cannot edit standard input (press RETURN)

It would be wonderful to be able to open $EDITOR on the original file from bat in such a way; this seems the only missing feature as a great replacement for more / less, at least for files of a reasonable size e.g. source code and config files.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions