Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableMode ¶
func EnableMode(keymap interface{}, mode string)
EnableMode enables all key bindings in the given keymap that are tagged with the provided mode.
func ForEachKeyBinding ¶
ForEachKeyBinding calls the given function f on every key.Binding in the given keymap, passing the binding and its associated modes. It recurses into nested structs and pointers, extracting all key.Bindings.
Types ¶
type ModeKeyMap ¶
Click to show internal directories.
Click to hide internal directories.