This PR adds support for custom hook implementations to know what the last directory was when yazi was closed. It can be used to e.g. change the current working directory in neovim.
In the future, I am thinking I can add some mappings that also use this, for example to do a grep (file content search) operation on the selected directory only. More ideas are also welcome 👍🏻
This PR adds support for custom hook implementations to know what the last directory was when yazi was closed. It can be used to e.g. change the current working directory in neovim.
In the future, I am thinking I can add some mappings that also use this, for example to do a grep (file content search) operation on the selected directory only. More ideas are also welcome 👍🏻
related: https://github.com/mikavilpas/yazi.nvim/issues/83