Versions in this module Expand all Collapse all v0 v0.0.1 Jun 1, 2026 Changes in this version + var ErrEmptyKey = fmt.Errorf("keybind: empty key string") + var ErrUnknownKey = fmt.Errorf("keybind: unknown key") + func Load[T any](cfgDir, filename string, defaults T) (T, error) + func Save[T any](cfgDir, filename string, cfg T) error + func Validate(areas map[string]map[string]string) []string + type Key struct + Alt bool + Base string + Ctrl bool + Shift bool + func MustParse(s string) Key + func Parse(s string) (Key, error) + func (k Key) String() string