Skip to content

Commit

Permalink
chore(term): change category filter keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt committed Apr 16, 2024
1 parent 952a322 commit 8a736ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/synd_term/src/ui/components/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ impl Filter {
map
});
map.insert(
KeyEvent::new(KeyCode::Char('A'), KeyModifiers::NONE),
KeyEvent::new(KeyCode::Char('+'), KeyModifiers::NONE),
KeyTrie::Command(Command::ActivateAllFilterCategories),
);
map.insert(
KeyEvent::new(KeyCode::Char('D'), KeyModifiers::NONE),
KeyEvent::new(KeyCode::Char('-'), KeyModifiers::NONE),
KeyTrie::Command(Command::DeactivateAllFilterCategories),
);
Keymap::from_map(crate::keymap::KeymapId::CategoryFiltering, map)
Expand Down Expand Up @@ -326,7 +326,7 @@ impl Filter {
}
}
if self.state == State::CategoryFiltering {
spans.push(Span::from("(Esc)").dim());
spans.push(Span::from("(Esc/+/-)").dim());
}

let filter = Line::from(spans);
Expand Down

0 comments on commit 8a736ed

Please sign in to comment.