Skip to content

Commit

Permalink
fix #398 shift-up/down was bind to wrong action (#399)
Browse files Browse the repository at this point in the history
Was PreviewPageUp/Down, should be PreviewUp/Down

Co-authored-by: LoricAndre <57358788+LoricAndre@users.noreply.github.com>
  • Loading branch information
lotabout and LoricAndre authored Nov 9, 2024
1 parent e0cd648 commit 966d8f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ fn get_default_key_map() -> HashMap<Key, ActionChain> {
ret.insert(Key::CtrlRight, vec![Event::EvActForwardWord]);
ret.insert(Key::ShiftRight, vec![Event::EvActForwardWord]);
ret.insert(Key::Alt('d'), vec![Event::EvActKillWord]);
ret.insert(Key::ShiftUp, vec![Event::EvActPreviewPageUp(1)]);
ret.insert(Key::ShiftDown, vec![Event::EvActPreviewPageDown(1)]);
ret.insert(Key::ShiftUp, vec![Event::EvActPreviewUp(1)]);
ret.insert(Key::ShiftDown, vec![Event::EvActPreviewDown(1)]);
ret.insert(Key::PageDown, vec![Event::EvActPageDown(1)]);
ret.insert(Key::PageUp, vec![Event::EvActPageUp(1)]);
ret.insert(Key::Ctrl('r'), vec![Event::EvActRotateMode]);
Expand Down

0 comments on commit 966d8f5

Please sign in to comment.