Skip to content

Commit

Permalink
Add missing keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
GNUSheep committed Aug 19, 2024
1 parent 46e764b commit ecd415f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helix-term/src/ui/picker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1201,10 +1201,10 @@ impl<I: 'static + Send + Sync, D: 'static + Send + Sync> Component for Picker<I,
Direction::Forward,
);
}
alt!('b') if self.show_preview => {
alt!('b') | alt!(PageUp) if self.show_preview => {
self.move_preview_by(self.preview_height as usize, Direction::Backward);
}
alt!('f') if self.show_preview => {
alt!('f') | alt!(PageDown) if self.show_preview => {
self.move_preview_by(self.preview_height as usize, Direction::Forward);
}
_ => {
Expand Down

0 comments on commit ecd415f

Please sign in to comment.