feat(picker_ui): add forward query history cycling (cycle_forward_query)#435
Merged
dmtrKovalenko merged 1 commit intodmtrKovalenko:mainfrom May 2, 2026
Merged
Conversation
Add a new keymap 'cycle_forward_query' (default <C-Down>) that allows navigating forward through the query history toward more recent queries. This complements the existing 'cycle_previous_query' (<C-Up>) which cycles backward, enabling full bidirectional navigation of query history without losing your place. - New config key: keymaps.cycle_forward_query (default: '<C-Down>') - New function M.cycle_forward_query() that decrements history_offset to walk forward through recent entries - Shares the history_offset state with recall_query_from_history for seamless bidirectional traversal
dmtrKovalenko
approved these changes
May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Close #433
Add a new keymap
cycle_forward_query(default<C-Down>) that allows navigating forward through the query history toward more recent queries. This complements the existingcycle_previous_query(<C-Up>) which cycles backward, enabling full bidirectional navigation of query history without losing your place.Changes
keymaps.cycle_forward_queryconfig (default:'<C-Down>')M.cycle_forward_query()function that decrementshistory_offsetto walk forward through recent entrieshistory_offsetstate withrecall_query_from_historyfor seamless bidirectional traversalDemo
Screen.Recording.2026-05-02.at.17.41.38.mov