macro_rules! bindmap {
( $( $k:expr => $v1:expr ),* $(,)? ) => { ... };
}Expand description
ยงExample
use matchmaker::{binds::{BindMap, bindmap, key}, action::Action};
let default_config: BindMap = bindmap!(
key!(alt-enter) => Action::Print("".into())
// custom actions can be specified directly: key!(ctrl-c) => FsAction::Enter
);