Skip to content

Conversation

@stefanhaller
Copy link
Collaborator

Now that we can use 'k' as a menu item binding (this was fixed in #5131), use it for the "keep" entry in the merge menu. I don't think this will be a problem for people's muscle memory, given that this menu is not encountered every day; and it's simply the better keybinding.

This reverts commit b32b552.

@stefanhaller stefanhaller added the enhancement New feature or request label Dec 22, 2025
@stefanhaller
Copy link
Collaborator Author

FYI @zingazzi

@codacy-production
Copy link

codacy-production bot commented Dec 22, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 70fe7bd1
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (70fe7bd) Report Missing Report Missing Report Missing
Head commit (6043eb5) 59289 51592 87.02%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#5132) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

stefanhaller added a commit that referenced this pull request Dec 22, 2025
…nus (#5131)

Previously they would be shown as keybindings in the menu, but they
didn't work because their builtin functionality (select next/prev line,
scroll view left/right) would take precedence.

This will allow us to revert #4934; doing that in a separate PR, see
#5132.
Now that we can use 'k' as a menu item binding (this was fixed in #5131), use it
for the "keep" entry in the merge menu. I don't think this will be a problem for
people's muscle memory, given that this menu is not encountered every day; and
it's simply the better keybinding.

This reverts commit b32b552.
@stefanhaller stefanhaller force-pushed the use-k-keybinding-for-keep-in-resolve-conflict-menu branch from efe1e06 to 6043eb5 Compare December 22, 2025 08:49
@stefanhaller stefanhaller merged commit 262e7f4 into master Dec 22, 2025
13 checks passed
@stefanhaller stefanhaller deleted the use-k-keybinding-for-keep-in-resolve-conflict-menu branch December 22, 2025 08:51
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jan 9, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [jesseduffield/lazygit](https://github.com/jesseduffield/lazygit) | minor | `v0.57.0` → `v0.58.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>jesseduffield/lazygit (jesseduffield/lazygit)</summary>

### [`v0.58.0`](https://github.com/jesseduffield/lazygit/releases/tag/v0.58.0)

[Compare Source](jesseduffield/lazygit@v0.57.0...v0.58.0)

<!-- Release notes generated using configuration in .github/release.yml at v0.58.0 -->

#### What's Changed

##### Enhancements 🔥

- Add keys for command log menu items by [@&#8203;PeterCardenas](https://github.com/PeterCardenas) in [#&#8203;5096](jesseduffield/lazygit#5096)
- Add Codeberg as a supported git hosting service by [@&#8203;yaadata](https://github.com/yaadata) in [#&#8203;5130](jesseduffield/lazygit#5130)
- Change keybinding of "keep" item in Merge Conflict menu back to 'k' by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5132](jesseduffield/lazygit#5132)
- Support custom keybindings in custom command menu prompts by [@&#8203;HerrNaN](https://github.com/HerrNaN) in [#&#8203;5129](jesseduffield/lazygit#5129)
- Show an error when checking out a file would overwrite local modifications by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5154](jesseduffield/lazygit#5154)

##### Fixes 🔧

- Remove confirmation for opening the merge tool by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5094](jesseduffield/lazygit#5094)
- Allow using 'j', 'k', 'H', or 'L' as keybindings in custom command menus by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5131](jesseduffield/lazygit#5131)
- Prevent many hyperlinks from launching while mouse moving by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5133](jesseduffield/lazygit#5133)
- Fix the main view display after reverting a commit by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5138](jesseduffield/lazygit#5138)
- Avoid scrolling the selection into view on refresh by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5134](jesseduffield/lazygit#5134)
- Fix rendering of certain emojis by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5116](jesseduffield/lazygit#5116)

##### Docs 📖

- Fix small issues with the Breaking Changes texts by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5114](jesseduffield/lazygit#5114)
- Add a note about delta's `--navigate` option not working in lazygit by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5155](jesseduffield/lazygit#5155)
- Update docs and schema for release by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5168](jesseduffield/lazygit#5168)

##### I18n 🌎

- Update translations from Crowdin by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5167](jesseduffield/lazygit#5167)

##### Performance Improvements 📊

- Fix annoying UI stalls after refresh (e.g. background fetch) when the reflog is very long by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5135](jesseduffield/lazygit#5135)

#### New Contributors

- [@&#8203;yaadata](https://github.com/yaadata) made their first contribution in [#&#8203;5130](jesseduffield/lazygit#5130)
- [@&#8203;HerrNaN](https://github.com/HerrNaN) made their first contribution in [#&#8203;5129](jesseduffield/lazygit#5129)

**Full Changelog**: <jesseduffield/lazygit@v0.57.0...v0.58.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4yIiwidXBkYXRlZEluVmVyIjoiNDIuNjkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6Om1pbm9yIl19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants