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