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
[Windows] git diff is not shown using delta as pager in lazygit, but works fine in command line in terminal #2337
Comments
Same probelm here, in the docs its written that custom pagers are not supported on Windows, however I think it would be quite usefull since delta allows quite a boost in productivity. |
duplicated of #1453 |
I'm begging for a solution to this one. I don't think I can use Lazygit if I can't get it to display side-by-side diffs. Has anyone successfully configured Lazygit to do this? |
Having same issue :( |
I FINALLY got side-by-side diffs to work! See my writeup at https://mvolkmann.github.io/blog/topics/#/blog/neovim/. Click "16. Lazygit" in the table of contents at the top. My instructions are specific to macOS. |
Thanks. Unfortunately, the issue I reported, and echoed by others, are for Windows system, specifically... There's no solution, so far, as it seems... |
My same config works on linux but not windows too. In linux or wsl, I can utilize |
I also have the same issue, running |
Same here. Using Using Windows 10 x64 as well. |
Understood. This is not a critical issue. I'm learning and enjoying |
Describe the bug
As shown below, I can see the diff of a local git repo using
git diff
with delta as the pager in the terminal.However, lazygit doesn't show this diff in the "
delta
way" although I have specifieddelta
as itspager
.My
.gitconfig
andconfig.yml
forlazygit
are shown below.Strangely, the same configuration works fine in
Mac OS
withgit diff
highlighted withdelta
in bothcommand-line
andlazygit
...May I ask what important steps I may have missed here?
Thanks.
To Reproduce
(As described above)
Expected behavior
(As described above)
Screenshots
running
git diff
in command-line:git diff
as shown inlazygit
:My git config file
~/.gitconfig
My lazygit config file
~/AppData/Roaming/lazygit/config.yml
(I was directed to
~/AppData/Roaming
when I pasted%APPDATA%
in File Explorer.)Version info:
Run
lazygit --version
and paste the result here:commit=d1a8b05401ccda1e52215203139a252eb3be3b79, build date=2022-11-14T09:22:31Z, build source=binaryRelease, version=0.36.0, os=windows, arch=amd64, git version=2.34.1.windows.1
Run
git --version
and paste the result heregit version 2.34.1.windows.1
Additional context
OS: Windows 11 Pro, 64bit, 22H2, build 22621.963
Reference read
#2300
Note: please try updating to the latest version or manually building the latest
master
to see if the issue still occurs.The text was updated successfully, but these errors were encountered: