1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Cleanup: remove extra OutsideFilterMode guard

We are in the outsideFilterModeBindings section here; all of these handlers are
wrapped in a OutsideFilterMode guard in a loop below. No need to add one
manually here.
This commit is contained in:
Stefan Haller
2023-06-12 17:43:04 +02:00
parent a6af31a4cb
commit 375451785c

View File

@ -100,7 +100,7 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [
},
{
Key: opts.GetKey(opts.Config.Commits.PasteCommits),
Handler: opts.Guards.OutsideFilterMode(self.paste),
Handler: self.paste,
Description: self.c.Tr.PasteCommits,
},
// overriding these navigation keybindings because we might need to load