mikavilpas / yazi.nvim

A Neovim Plugin for the yazi terminal file manager
MIT License
243 stars 7 forks source link

How to start yazi from cwd #50

Closed Urie96 closed 2 months ago

Urie96 commented 2 months ago

In most cases selecting current file is best, but sometimes need to start from cwd. Is it possible to support configuring the startup path for diffrent keybinds?

mikavilpas commented 2 months ago

Hi! Yes, it's possible but a bit hacky 🙂 It's an excellent idea though!

I added an example here, can you try it out in your own config? https://github.com/mikavilpas/yazi.nvim/pull/52

Urie96 commented 2 months ago

Oh. I didn't notice the path param. Thank you! You're patient.