aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/client/search.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/client/search.rs b/src/command/client/search.rs
index bc778f02..8c60bd36 100644
--- a/src/command/client/search.rs
+++ b/src/command/client/search.rs
@@ -343,7 +343,7 @@ async fn key_handler(
query_results(app, search_mode, db).await.unwrap();
}
- Key::Down | Key::Ctrl('n') => {
+ Key::Down | Key::Ctrl('n' | 'j') => {
let i = match app.results_state.selected() {
Some(i) => {
if i == 0 {
@@ -356,7 +356,7 @@ async fn key_handler(
};
app.results_state.select(Some(i));
}
- Key::Up | Key::Ctrl('p') => {
+ Key::Up | Key::Ctrl('p' | 'k') => {
let i = match app.results_state.selected() {
Some(i) => {
if i >= app.results.len() - 1 {