mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-20 05:19:24 +02:00
fix ignore file keybinding
This commit is contained in:
parent
5b3f684afb
commit
65d6d7fb2d
@ -210,7 +210,7 @@ type KeybindingFilesConfig struct {
|
|||||||
CommitChangesWithoutHook string `yaml:"commitChangesWithoutHook"`
|
CommitChangesWithoutHook string `yaml:"commitChangesWithoutHook"`
|
||||||
AmendLastCommit string `yaml:"amendLastCommit"`
|
AmendLastCommit string `yaml:"amendLastCommit"`
|
||||||
CommitChangesWithEditor string `yaml:"commitChangesWithEditor"`
|
CommitChangesWithEditor string `yaml:"commitChangesWithEditor"`
|
||||||
IgnoreOrExcludeFile string `yaml:"IgnoreOrExcludeFile"`
|
IgnoreFile string `yaml:"ignoreFile"`
|
||||||
RefreshFiles string `yaml:"refreshFiles"`
|
RefreshFiles string `yaml:"refreshFiles"`
|
||||||
StashAllChanges string `yaml:"stashAllChanges"`
|
StashAllChanges string `yaml:"stashAllChanges"`
|
||||||
ViewStashOptions string `yaml:"viewStashOptions"`
|
ViewStashOptions string `yaml:"viewStashOptions"`
|
||||||
@ -496,7 +496,7 @@ func GetDefaultConfig() *UserConfig {
|
|||||||
CommitChangesWithoutHook: "w",
|
CommitChangesWithoutHook: "w",
|
||||||
AmendLastCommit: "A",
|
AmendLastCommit: "A",
|
||||||
CommitChangesWithEditor: "C",
|
CommitChangesWithEditor: "C",
|
||||||
IgnoreOrExcludeFile: "i",
|
IgnoreFile: "i",
|
||||||
RefreshFiles: "r",
|
RefreshFiles: "r",
|
||||||
StashAllChanges: "s",
|
StashAllChanges: "s",
|
||||||
ViewStashOptions: "S",
|
ViewStashOptions: "S",
|
||||||
|
@ -83,7 +83,7 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types
|
|||||||
Description: self.c.Tr.LcOpenFile,
|
Description: self.c.Tr.LcOpenFile,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: opts.GetKey(opts.Config.Files.IgnoreOrExcludeFile),
|
Key: opts.GetKey(opts.Config.Files.IgnoreFile),
|
||||||
Handler: self.checkSelectedFileNode(self.ignoreOrExcludeMenu),
|
Handler: self.checkSelectedFileNode(self.ignoreOrExcludeMenu),
|
||||||
Description: self.c.Tr.Actions.LcIgnoreExcludeFile,
|
Description: self.c.Tr.Actions.LcIgnoreExcludeFile,
|
||||||
OpensMenu: true,
|
OpensMenu: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user