gitui-org/gitui

Support opening inside of Helix

Open

#2.556 aberto em 11 de mar. de 2025

Ver no GitHub
 (6 comments) (10 reactions) (0 assignees)Rust (721 forks)batch import
feature-requestgood first issue

Métricas do repositório

Stars
 (21.937 stars)
Métricas de merge de PR
 (Mesclagem média 41d 9h) (6 fundiu PRs em 30d)

Description

Yazi (A file explorer written in Rust) recently added support for using yazi right inside of Helix via :insert-output

You can use Lazygit right inside of Helix as well. This is described in the Helix wiki (https://github.com/helix-editor/helix/wiki/Recipes#git-integration)

I wanted to try out gitui. So I gave it a shot and wow its about 3x faster (benchmark: undoing changes for 1,200 files). So I want to use it now. I tried using it in Helix's :insert-output but it does not work.

:insert-output uses Helix's shell_impl_async to turn the output of the passed cmd: &str and display it in the editor

You can check Yazi's PR on how they implemented it and it may be implemented here in a similar way.

:insert-output gitui would ideally allow you to use gitui right within Helix, but at the moment it just freezes the screen.

Guia do colaborador