mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 21:53:09 +08:00
Make arrow keys navigate completions instead of manipulate completion
search field
This commit is contained in:
parent
7d8766980b
commit
15a63805d9
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user