Skip to content

Preview file shortcut #6838

Description

@exploide

Sometimes, when I type a command like mycmd --my-file ./here/comes/some/file.txt I start wondering whether I actually selected the correct file or if I mixed something up. Then I copy the file path, open a new terminal tab and open the file in less.

fish has some cool shortcuts, for example Alt+H to open the man page of the current command.

What about a shortcut for opening the current file in a pager? I think it could be useful.

I'm thinking about what shortcut would be appropriate. Some of them are already occupied for other actions. So I'm leaning towards Alt+O as in Open.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions