Replies: 1 comment 1 reply
-
I don't want to change the meaning of the I'm not sure why you want to open a diff in zed, but it seems to me that this should be easy to accomplish with a custom command. I don't feel that this is something we should build into lazygit, but again, I'm not sure I understand what your proposed workflow would be, or what problems it would solve. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, Zed just released https://x.com/zeddotdev/status/1910053786787430745 v0.181.5 - Supports viewing Files in Zed from an old commit hash.
Though I'm not aware of any CLI args to open diffs via a commandline with Zed (yet) (i.e.
zed {{filename}} --diff "{{hash}}..{{hash}}"
. I do think that once it's possible, I was thinking it would be super convenient if Lazygit can integrate with it by also passing a{{commit_hash}}
in theos.open
andos.editAtLine
andos.editAtLineAndWait
so it can integrate with Zed better.Currently this is what is possible with Lazygit + Zed:
Maybe in the future, this might be possible too:
I was reading the Configuration guide but I couldn't really find anything on passing the commit_hash (if it was possible).
Thanks in advance guys!
Beta Was this translation helpful? Give feedback.
All reactions