Skip to content

Risky enter confirmation #3471

@undg

Description

@undg

Topic
lazygit can do a many irreversible changes in git repo (local and remote). For those changes we have extra confirmation step with popup widow what is rely good idea. What is not so great and danger, is that confirmation is on <CR>. It would be nice to rebind it to y/n or at least have an option to do so in config.

Your thoughts
Lets take example that makes me a bit anxious every time I'm doing it with lazygit.

  1. Go to Branch window, select branch
  2. d to delete
  3. In option window arrow down on "Delete remote branch" or stay on "Delete local branch"
  4. enter followed by second enter to delete and confirm

This is common workflow for many actions with confirmation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions