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

better validation messages

This commit is contained in:
Jesse Duffield
2020-09-27 09:37:22 +10:00
parent 7cd17d3a73
commit a09bb5d4d8
5 changed files with 49 additions and 12 deletions

View File

@ -189,7 +189,7 @@ func (gui *Gui) getKey(name string) interface{} {
if runeCount > 1 {
binding := keymap[strings.ToLower(key)]
if binding == nil {
log.Fatalf("Unrecognized key %s for keybinding %s", strings.ToLower(key), name)
log.Fatalf("Unrecognized key %s for keybinding %s. For permitted values see https://github.com/jesseduffield/lazygit/blob/master/docs/keybindings/Custom_Keybindings.md", strings.ToLower(key), name)
} else {
return binding
}