Example #1
0
// NewKeymap creates a new Keymap struct
func NewKeymap(config map[string]string, actions map[string][]string) Keymap {
	return Keymap{config, actions, keyseq.New()}

}
Example #2
0
func NewKeymap(config map[string]string) Keymap {
	return Keymap{config, keyseq.New()}

}