Skip to content

Discard multiple files using visual mode not working #1937

@Hien-Le-Saritasa

Description

@Hien-Le-Saritasa

Description

When multiple files is selected with visual mode and then hit x to discard. A prompt at the bottom left show up to confirm. After the confirmation, no file is discarded.

Recording.2026-04-01.120623.mp4

Neovim version

NVIM v0.11.6
Build type: Release
LuaJIT 2.1.1741730670

Operating system and version

Windows 11

Steps to reproduce

  1. Select files with visual mode
  2. Hit x to discard
  3. Y to confirm

Expected behavior

The files should be discarded.

Actual behavior

Nothing happen after hitting x to discard the files.

Minimal config

Installed with lazy:

  {
    "NeogitOrg/neogit",
    dependencies = {
      "nvim-lua/plenary.nvim",
      "nvim-telescope/telescope.nvim",
    },
    opts = {
      integrations = {
        telescope = true,
      },
    },
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions