diff options
author | Liberatys <nick.flueckiger@renuo.ch> | 2021-05-27 16:22:33 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-05-30 13:25:44 +1000 |
commit | 44f7fc6f7c03a8eeb18e22f3605a384516b31baa (patch) | |
tree | c53fad0026a5cad4eb62c3c6a362e31ca93ce87f /pkg/gui/keybindings.go | |
parent | f92fcfbb47e9893aa3dd475ce964c797e9f1b5d2 (diff) |
Add global binding to open recent repos
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index a9e161b0f..169a1be24 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -233,6 +233,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { }, { ViewName: "", + Key: gui.getKey(config.Universal.OpenRecentRepos), + Handler: gui.handleCreateRecentReposMenu, + Alternative: "<c-r>", + Description: gui.Tr.SwitchRepo, + }, + { + ViewName: "", Key: gui.getKey(config.Universal.ScrollUpMain), Handler: gui.scrollUpMain, Alternative: "fn+up", |