示例#1
0
文件: keymap.go 项目: coodix/peco
// NewKeymap creates a new Keymap struct
func NewKeymap(config map[string]string, actions map[string][]string) Keymap {
	return Keymap{config, actions, keyseq.New()}

}
示例#2
0
文件: keymap.go 项目: hirose31/peco
func NewKeymap(config map[string]string) Keymap {
	return Keymap{config, keyseq.New()}

}