diff options
Diffstat (limited to 'src/foldview.rs')
-rw-r--r-- | src/foldview.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/foldview.rs b/src/foldview.rs index d45eff6..2defa49 100644 --- a/src/foldview.rs +++ b/src/foldview.rs @@ -285,10 +285,10 @@ where fn on_key(&mut self, key: Key) -> HResult<()> { match key { - Key::Up | Key::Char('p') => self.move_up(), - Key::Char('P') => for _ in 0..10 { self.move_up() }, - Key::Char('N') => for _ in 0..10 { self.move_down() }, - Key::Down | Key::Char('n') => self.move_down(), + Key::Up | Key::Char('k') => self.move_up(), + Key::Char('K') => for _ in 0..10 { self.move_up() }, + Key::Char('J') => for _ in 0..10 { self.move_down() }, + Key::Down | Key::Char('j') => self.move_down(), Key::Char('t') => self.toggle_fold()?, Key::Char('l') => self.popup_finnished()?, _ => {} |