Skip to content

I am with the latest update not able to view lazygit in my lazyvim. It works fine outside of lazyvim. Are you able to reproduce this or should i look at ubuntu or wsl? #4270

Open
@RasmuskjaerN

Description

@RasmuskjaerN

I'll help you fill out the issue template with the LazyGit/LazyVim integration problem:

Describe the bug
LazyGit UI is not appearing when triggered within LazyVim, despite LazyGit working correctly when used directly from the terminal in Ubuntu 24.04 on WSL Windows 11.

To Reproduce
Steps to reproduce the behavior:

  1. Open LazyVim
  2. Try to open LazyGit using the default keybinding <leader>gg or :LazyGit command
  3. LazyGit UI fails to appear
  4. However, running lazygit directly in the terminal works correctly

Expected behavior
LazyGit should open in a floating window within LazyVim when triggered, showing the git interface for the current repository.

Screenshots
In bash terminal:
"> lazygit"

Image

In lazyvim
"leader gg"

Image

Version info:
To get this info, please run these commands in your terminal:

lazygit --version
git --version

Additional context

  • Environment: Ubuntu 24.04 running on WSL2 in Windows 11
  • Health check confirms LazyGit is installed: Snacks.lazygit ~ - OK {lazygit} installed
  • LazyVim is properly installed and running
  • LazyGit works correctly when used directly from terminal
  • System health check shows no obvious configuration issues with git or terminal integration

Note: Before submitting this issue, please verify that you have tried:

  1. Checking if the LazyGit plugin is properly configured in your LazyVim setup
  2. Updating to the latest versions of both LazyGit and LazyVim
  3. Running lazygit --debug and lazygit --logs in separate terminals to check for any error messages

Would you like me to help you gather any additional information for this issue template?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions