-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helix editor should re-render after shell command is exited #4099
Comments
I am using Helix and Lazygit together with awesome results using a Kitty config of:
You can open Lazygit in another Kitty window and cycle between them all being split screen/full screen with I open projects with a script that automatically opens Lazygit if it is a git repo:
The above is part of my mini bash project manager, I might release it at some point. |
@David-Else yh, that sounds good but it'll be nice to have this for things that aren't lazygit. |
Also being inconvenienced by this as helix doesn't have plugin support (yet, and it's understandable) and I rely on external tools to provide things like file tree, git management, etc. Opening |
The |
Summary
I like to use lazygit, and I can map
sh lazygit
command to key combination to make it easier. Issue is that, once I quit the lazygit that I opened in helix using:sh lazygit
, it shows "Command succeed" in the bottom and removes what helix had rendered i.e. text files.Issue in action: https://asciinema.org/a/II68rm1xBg9EPgNR34y5RWj1u
Reproduction Steps
I tried this:
hx .
:sh lazygit
q
to quit, should return me to helixI expected this to happen:
When I quit lazygit, I expected to return to helix just as I left it before I ran lazygit.
Instead, this happened:
It can't see any thing rendered by helix until I highlight the characters using visual mode, causing them to re-render.
Helix log
~/.cache/helix/helix.log
Platform
Tried on Linux and macOS
Terminal Emulator
Kitty
Helix Version
helix 22.08.1 (66276ce)
The text was updated successfully, but these errors were encountered: