1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-07 13:42:01 +02:00

added keybinding for fetchRemote

This commit is contained in:
David Chen 2019-12-07 09:26:17 -08:00
parent c507e5f562
commit 0d1230a959
3 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,7 @@ Default path for the config file: `~/.config/jesseduffield/lazygit/config.yml`
fastForward: 'f' # fast-forward this branch from its upstream
pushTag: 'P'
setUpstream: 'u' # set as upstream of checked-out branch
fetchRemote: 'f'
commits:
squashDown: 's'
renameCommit: 'r'

View File

@ -326,6 +326,7 @@ keybinding:
fastForward: 'f'
pushTag: 'P'
setUpstream: 'u'
fetchRemote: 'f'
commits:
squashDown: 's'
renameCommit: 'r'

View File

@ -740,7 +740,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
{
ViewName: "branches",
Contexts: []string{"remotes"},
Key: 'f',
Key: gui.getKey("branches.fetchRemote"),
Modifier: gocui.ModNone,
Handler: gui.handleFetchRemote,
Description: gui.Tr.SLocalize("fetchRemote"),