general keybindings (#775)

* general keybindings

* get value function

* check error for keybinding

* cmd and send for keybingins

* better error message
This commit is contained in:
Fernando Herrera
2022-01-19 13:28:08 +00:00
committed by GitHub
parent 73ad862042
commit 6514a30b5d
6 changed files with 277 additions and 217 deletions

View File

@ -207,7 +207,7 @@ pub fn group_by(values: PipelineData, head: Span, config: &Config) -> (PipelineD
.or_insert_with(|| vec![val.clone()]);
} else {
lists
.entry(val.clone().into_string(",", config))
.entry(val.into_string(",", config))
.and_modify(|v: &mut Vec<Value>| v.push(val.clone()))
.or_insert_with(|| vec![val.clone()]);
}