chore: reformat
This commit is contained in:
@ -384,10 +384,7 @@ impl KeymapSet {
|
||||
normal.bind_seq(
|
||||
KeyCode::Char('o'),
|
||||
none,
|
||||
vec![
|
||||
("add-record-row", vec![]),
|
||||
("enter-edit-at-cursor", vec![]),
|
||||
],
|
||||
vec![("add-record-row", vec![]), ("enter-edit-at-cursor", vec![])],
|
||||
);
|
||||
|
||||
// Records mode toggle and prune toggle
|
||||
@ -696,12 +693,7 @@ impl KeymapSet {
|
||||
let mut sm = Keymap::new();
|
||||
sm.bind(KeyCode::Esc, none, "exit-search-mode");
|
||||
sm.bind(KeyCode::Enter, none, "exit-search-mode");
|
||||
sm.bind_args(
|
||||
KeyCode::Backspace,
|
||||
none,
|
||||
"pop-char",
|
||||
vec!["search".into()],
|
||||
);
|
||||
sm.bind_args(KeyCode::Backspace, none, "pop-char", vec!["search".into()]);
|
||||
sm.bind_any_char("append-char", vec!["search".into()]);
|
||||
set.insert(ModeKey::SearchMode, Arc::new(sm));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user