Skip to content

Using yazi within Helix #12932

@nouritsu

Description

@nouritsu

Premise

I know a file manager got merged a while ago, however my release (on nixpkgs unstable) does not have it and I would prefer using yazi within Helix to interact with files anyway.

Attempted Solution

This video explains how to use LazyGit inside Helix. The video maps C-g to the following

"C-g" = [":new", ":insert-output lazygit", ":buffer-close!", ":redraw"]

Which then allows you to press C-g, perform actions inside lazygit, press q and then return back to your previous buffer.

I tried to do the same with yazi, with little success. I expected

"C-f" = [":new", ":insert-output yazi --chooser-file=/dev/stdout", ":buffer-close!", ":redraw"]

to work, however when I press C-f Helix simply freezes until I press either ret or q.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions