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

Add global binding to open recent repos

This commit is contained in:
Liberatys
2021-05-27 16:22:33 +02:00
committed by Jesse Duffield
parent f92fcfbb47
commit 44f7fc6f7c
3 changed files with 10 additions and 0 deletions

View File

@ -231,6 +231,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Modifier: gocui.ModNone,
Handler: gui.handleTopLevelReturn,
},
{
ViewName: "",
Key: gui.getKey(config.Universal.OpenRecentRepos),
Handler: gui.handleCreateRecentReposMenu,
Alternative: "<c-r>",
Description: gui.Tr.SwitchRepo,
},
{
ViewName: "",
Key: gui.getKey(config.Universal.ScrollUpMain),