diff --git a/web/components/filter.tsx b/web/components/filter.tsx index c1e47a70..8b84ab90 100644 --- a/web/components/filter.tsx +++ b/web/components/filter.tsx @@ -182,6 +182,16 @@ export function FilterList({ break; } } + if (e.ctrlKey && e.key === "n") { + setSelectionOption( + Math.min(matchingOptions.length - 1, selectedOption + 1), + ); + return true; + } + if (e.ctrlKey && e.key === "p") { + setSelectionOption(Math.max(0, selectedOption - 1)); + return true; + } return false; }} />