You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I’m reviewing a diff with a lot of files, I often know which file I want but still have to step through the sidebar to reach it.
I’d like to add a configurable jump_file action, bound to Ctrl+P by default. It would open a small picker where typing filters the visible file paths, the normal up/down keys move through matches, and Enter loads the selected file.
My intention is to keep the patch small by following the existing theme-picker interaction and reusing the current file-tree selection and loading paths. Active annotated-only or unreviewed-only filters would still be respected.
I have a working implementation on my fork for personal use. If this fits the project direction, I’d be happy to submit it as a focused PR.
this fits. Looked at your feat/file-jump-picker branch, and the shape is right. Feel free to make a PR.
pls keep the scope as it is now: paths from the current filtered tree only, substring matching, the existing SelectByPath / loadSelectedIfChanged path, and a configurable jump_file action with Ctrl+P as the default. Ctrl+P should keep recalling search history while the / prompt is active.
no generic picker or fuzzy-search framework, and no new dependency. Keep the pending annotation/hunk jump cleanup and tests for both tree filters, no-match behavior, mouse selection, and modal key precedence.
Activity
umputun commentedon Jul 22, 2026
this fits. Looked at your
feat/file-jump-pickerbranch, and the shape is right. Feel free to make a PR.pls keep the scope as it is now: paths from the current filtered tree only, substring matching, the existing
SelectByPath/loadSelectedIfChangedpath, and a configurablejump_fileaction withCtrl+Pas the default.Ctrl+Pshould keep recalling search history while the/prompt is active.no generic picker or fuzzy-search framework, and no new dependency. Keep the pending annotation/hunk jump cleanup and tests for both tree filters, no-match behavior, mouse selection, and modal key precedence.
fix(keymap): rebind file picker from ctrl+p to P (#300)