1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-30 09:16:47 +02:00

add handler for refreshing files

This commit is contained in:
Jesse Duffield 2018-06-10 11:36:47 +10:00
parent 43f0cf42e6
commit 21dd06989d

3
gui.go
View File

@ -116,6 +116,9 @@ func keybindings(g *gocui.Gui) error {
if err := g.SetKeybinding("files", 'i', gocui.ModNone, handleIgnoreFile); err != nil {
return err
}
if err := g.SetKeybinding("files", 'r', gocui.ModNone, handleRefreshFiles); err != nil {
return err
}
if err := g.SetKeybinding("files", 'S', gocui.ModNone, handleStashSave); err != nil {
return err
}