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

support navigating remotes view

This commit is contained in:
Jesse Duffield
2019-11-16 16:38:38 +11:00
parent b5385f2560
commit 61dac10bb9
6 changed files with 112 additions and 28 deletions

View File

@ -1019,6 +1019,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Modifier: gocui.ModNone,
Handler: gui.handleBranchesClick,
},
{
ViewName: "branches",
Contexts: []string{"remotes"},
Key: gocui.MouseLeft,
Modifier: gocui.ModNone,
Handler: gui.handleRemotesClick,
},
{
ViewName: "commits",
Key: gocui.MouseLeft,