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

moving more into controllers package

This commit is contained in:
Jesse Duffield
2022-01-30 11:10:00 +11:00
parent b04038d08f
commit e187293456
4 changed files with 91 additions and 95 deletions

View File

@ -141,6 +141,12 @@ func (self *FilesController) Keybindings(getKey func(key string) interface{}, co
Handler: self.checkSelectedFileNode(self.ignore),
Description: self.c.Tr.LcIgnoreFile,
},
{
Key: getKey(config.Universal.Remove),
Handler: self.checkSelectedFileNode(self.remove),
Description: self.c.Tr.LcViewDiscardOptions,
OpensMenu: true,
},
{
Key: getKey(config.Files.RefreshFiles),
Handler: self.refresh,