From 15a63805d9e51259868c3799c9b697b86ab9bbff Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 27 Jan 2014 02:22:34 -0800 Subject: [PATCH] Make arrow keys navigate completions instead of manipulate completion search field --- reader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reader.cpp b/reader.cpp index 9b09ae832..7adafbaf8 100644 --- a/reader.cpp +++ b/reader.cpp @@ -3683,7 +3683,7 @@ const wchar_t *reader_readline(void) case R_BACKWARD_CHAR: { editable_line_t *el = data->active_edit_line(); - if (data->is_navigating_pager_contents() && ! data->pager.is_search_field_shown()) + if (data->is_navigating_pager_contents()) { select_completion_in_direction(direction_west); } @@ -3699,7 +3699,7 @@ const wchar_t *reader_readline(void) case R_FORWARD_CHAR: { editable_line_t *el = data->active_edit_line(); - if (data->is_navigating_pager_contents() && ! data->pager.is_search_field_shown()) + if (data->is_navigating_pager_contents()) { select_completion_in_direction(direction_east); }