luccahuguet / yazelix

zellij, yazi and nushell adding a File Tree to Helix & helix-friendly keybindigs for zellij
Apache License 2.0
214 stars 11 forks source link

Remove extra step after using zoxide in yazi #30

Open luccahuguet opened 1 month ago

luccahuguet commented 1 month ago

after pressing z in yazi (if you have zoxide installed) it will open an interactive search menu, to find the dir/file you want

That's fine, but after you click it, you enter it, and now to open it in helix, you have to navigate back one folder...

lets say you have a projects/sites/lucca/main.ts path

you press z, then search for lucca and press enter, now you're into lucca's folder, and all you see is main.ts

but to hit enter on the lucca folder, you have to press h or left_arrow (navigate back) and then hit enter, instead of opening it directly

minor thing, but also annoying

luccahuguet commented 1 month ago

one thing that could remove actually two steps is to go from yazi's zoxide interactive menu straight to helix