Versions in this module Expand all Collapse all v0 v0.2.0 Oct 30, 2026 Changes in this version + func Expire(km *Keymap, st Pending, now time.Time) (Pending, Result) + func Feed(km *Keymap, st Pending, k myelinkey.Key, p Path, now time.Time) (Pending, Result) + func FormatPath(p Path) string + func Warn(err error) error + type Bind struct + Action string + Args []string + Keys string + Label string + Props map[string]string + Source string + Unbind bool + When string + func (z *Bind) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Bind) EncodeMsg(en *msgp.Writer) (err error) + func (z *Bind) Msgsize() (s int) + type Binding struct + Layer string + Seq []myelinkey.Key + func (z *Binding) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Binding) EncodeMsg(en *msgp.Writer) (err error) + func (z *Binding) Msgsize() (s int) + type Candidate struct + Binding Binding + Depth int + Fenced bool + Holds bool + Wins bool + func (z *Candidate) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Candidate) EncodeMsg(en *msgp.Writer) (err error) + func (z *Candidate) Msgsize() (s int) + type Context struct + func (c *Context) Depth(p Path) int + func (c *Context) Holds(p Path) bool + func (c *Context) MayDepth(p Path) int + func (c *Context) MayHold(p Path) bool + func (c *Context) String() string + type Doc struct + Aliases map[string]string + Binds []Bind + Drops []string + Fences []Fence + Groups []Group + Layer string + Source string + func Mount(d Doc, when string) Doc + func (z *Doc) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Doc) EncodeMsg(en *msgp.Writer) (err error) + func (z *Doc) Msgsize() (s int) + type Env struct + func NewEnv(s Schema) (*Env, error) + func (e *Env) Build(docs []Doc, check func(Binding) error) (*Keymap, []Problem) + func (e *Env) CheckSeq(s string) error + func (e *Env) Compile(when string) (*Context, error) + type Fence struct + Shadow bool + Source string + Swallow bool + When string + func (z *Fence) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Fence) EncodeMsg(en *msgp.Writer) (err error) + func (z *Fence) Msgsize() (s int) + type Group struct + Keys string + Label string + Props map[string]string + Source string + When string + func (z *Group) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Group) EncodeMsg(en *msgp.Writer) (err error) + func (z *Group) Msgsize() (s int) + type Item struct + Binding *Binding + Enabled bool + Group bool + Items []Item + Key myelinkey.Key + Label string + Props map[string]string + func (z *Item) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Item) EncodeMsg(en *msgp.Writer) (err error) + func (z *Item) Msgsize() (s int) + type Keymap struct + func (km *Keymap) Alias(name string) ([]myelinkey.Key, bool) + func (km *Keymap) All() []Binding + func (km *Keymap) Effective(p Path) []Binding + func (km *Keymap) Explain(seq []myelinkey.Key, p Path) []Candidate + func (km *Keymap) Fence(p Path) *Fence + func (km *Keymap) KeyFor(action string, p Path) *Binding + func (km *Keymap) KeysFor(action string, args []string, p Path) [][]myelinkey.Key + func (km *Keymap) Match(seq []myelinkey.Key, p Path) Match + func (km *Keymap) Menu(seq []myelinkey.Key, p Path, applies func(Binding) bool) Menu + func (km *Keymap) ParseSeq(s string) ([]myelinkey.Key, error) + func (km *Keymap) Shadowed(paths ...Path) []Problem + func (km *Keymap) Starts(k myelinkey.Key) bool + func (km *Keymap) Tree(seq []myelinkey.Key, p Path, applies func(Binding) bool) Menu + type Match struct + Exact *Binding + Prefix bool + func (z *Match) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Match) EncodeMsg(en *msgp.Writer) (err error) + func (z *Match) Msgsize() (s int) + type Menu struct + Items []Item + Label string + Props map[string]string + Seq []myelinkey.Key + func (z *Menu) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Menu) EncodeMsg(en *msgp.Writer) (err error) + func (z *Menu) Msgsize() (s int) + type NodeType struct + Attrs map[string]Type + Name string + Text bool + func (z *NodeType) DecodeMsg(dc *msgp.Reader) (err error) + func (z *NodeType) EncodeMsg(en *msgp.Writer) (err error) + func (z *NodeType) Msgsize() (s int) + type Path []Step + func (z *Path) DecodeMsg(dc *msgp.Reader) (err error) + func (z Path) EncodeMsg(en *msgp.Writer) (err error) + func (z Path) Msgsize() (s int) + type Pending struct + Deadline time.Time + Path Path + Seq []myelinkey.Key + func Arm(km *Keymap, alias string, p Path, now time.Time) Pending + func (z *Pending) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Pending) EncodeMsg(en *msgp.Writer) (err error) + func (z *Pending) Msgsize() (s int) + type Problem struct + Source string + Text string + Warning bool + func (z *Problem) DecodeMsg(dc *msgp.Reader) (err error) + func (z Problem) EncodeMsg(en *msgp.Writer) (err error) + func (z Problem) Msgsize() (s int) + type Result struct + Deadline time.Time + Dropped []myelinkey.Key + Run *Binding + Swallowed []myelinkey.Key + func (z *Result) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Result) EncodeMsg(en *msgp.Writer) (err error) + func (z *Result) Msgsize() (s int) + type Schema struct + Aliases map[string]string + Layers []string + Nodes []NodeType + ShiftedCapitals bool + StrictKeys bool + Timeout time.Duration + func (z *Schema) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Schema) EncodeMsg(en *msgp.Writer) (err error) + func (z *Schema) Msgsize() (s int) + type Step struct + Attrs map[string]any + Name string + func (z *Step) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Step) EncodeMsg(en *msgp.Writer) (err error) + func (z *Step) Msgsize() (s int) + type Type string + func (z *Type) DecodeMsg(dc *msgp.Reader) (err error) + func (z Type) EncodeMsg(en *msgp.Writer) (err error) + func (z Type) Msgsize() (s int) v0.1.0-next.1 Oct 11, 2026