feat: vim movement keys

This commit is contained in:
siph
2022-05-08 11:37:14 -06:00
parent 06bb13848f
commit d30dabae50
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -158,13 +158,13 @@ impl InputHandler {
SelectablePanel::Commands => locked_data.docker_command_end(),
}
}
KeyCode::Up => self.previous(),
KeyCode::Up | KeyCode::Char('k') => self.previous(),
KeyCode::PageUp => {
for _ in 0..=6 {
self.previous()
}
}
KeyCode::Down => self.next(),
KeyCode::Down | KeyCode::Char('j')=> self.next(),
KeyCode::PageDown => {
for _ in 0..=6 {
self.next()