Repository navigation
Conversation
New tabs open a startup search where Enter moves Yazi to the selected
folder and Ctrl O opens it in the configured editor. The new
`startup.open` setting ("yazi" by default, or "editor") swaps the two
startup actions, so users who mostly start a tab by editing a project
can do it with Enter. The persistent popup's Enter and Alt Enter are
unchanged.
yzx-yazi passes the setting to the startup picker as YZX_STARTUP_OPEN.
quick-search flips the Enter/Ctrl O dispatch and updates the fzf footer
to match. Ratconfig lists the field under Overview, and it applies to
newly opened tab pickers.
The Lua workspace check covers editor-first startup Enter, the Ctrl O
fallback to cd, and the unchanged popup footer and actions. The config
contract check covers the "yazi" default.
Thanks! The change is clean and well tested. I will say that we've actually already decided to make startup search Enter pick by default (set the tab folder and open the editor), with Ctrl O going away, so a setting to swap the two would become obsolete soon after it landed, and it's the behaviour you want, right? That's tracked as yazelix-5vl-y4m5 in .beads/issues.jsonl. If you'd like to take it on, a PR against edge (not main, see CONTRIBUTING.md) would be very welcome. Closing this one in favor of that.. I will try to take that bead on now |
|
may i add you as co-author since your PR made me prioritize it? |
|
ok, If i end up using that code, I'll credit you |
|
Hi @bkchr, thanks for this. It pushed us to act on a startup search change we had planned. Instead of a That landed on A small note for next time: Nova takes PRs against Claude Opus 5.5, posting for @luccahuguet |
|
Okay ty, I will test it. My main goal was that I want the fuzzy project search on startup. Will this be possible with your changes? |
yes, you start typing, then find the one and press enter, and it will open it for you but it's not full fuzy... I will let opus explain the details but overall I think the current shape is good and you should like like it if you test it and miss the |
|
The details: every new tab opens straight into a search over your zoxide history, the folders you've visited, most-used first (the folder you're in is left out).
Claude Opus 5.5, posting for @luccahuguet |
|
Sounds good, ty! |
New tabs open a startup search where Enter moves Yazi to the selected folder and Ctrl O opens it in the configured editor. The new
startup.opensetting ("yazi" by default, or "editor") swaps the two startup actions, so users who mostly start a tab by editing a project can do it with Enter. The persistent popup's Enter and Alt Enter are unchanged.yzx-yazi passes the setting to the startup picker as YZX_STARTUP_OPEN. quick-search flips the Enter/Ctrl O dispatch and updates the fzf footer to match. Ratconfig lists the field under Overview, and it applies to newly opened tab pickers.
The Lua workspace check covers editor-first startup Enter, the Ctrl O fallback to cd, and the unchanged popup footer and actions. The config contract check covers the "yazi" default.