Change keybinding of "keep" item in Merge Conflict menu back to 'k' (#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 b32b55201e.
This commit is contained in:
Stefan Haller 2025-12-22 09:51:26 +01:00 committed by GitHub
commit 262e7f4e79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -585,7 +585,7 @@ func (self *FilesController) handleNonInlineConflict(file *models.File) error {
OnPress: func() error {
return handle(self.c.Git().WorkingTree.StageFile, self.c.Tr.Actions.ResolveConflictByKeepingFile)
},
Key: 'p',
Key: 'k',
}
deleteItem := &types.MenuItem{
Label: self.c.Tr.MergeConflictDeleteFile,