I used the project.yazi plugin, which loads the last opened directory when I launch Yazi. However, when I open it in Neovim using the "<cmd>Yazi<cr>" command, it doesn't enter the current Neovim directory. #1052
Replies: 4 comments 3 replies
-
|
If I recall correctly, There is an example of how to do this here #887 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
This won't work. Because when opening yazi, the projects.yazi plugin is loaded last, and this plugin opens other directories. vim.fn.getcwd() this value does not work |
Beta Was this translation helpful? Give feedback.
-
here "last project loaded". Is there another way not to load this project.yazi plugin? |
Beta Was this translation helpful? Give feedback.
-
|
How exactly should it be modified? I tried but didn't succeed. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I used the project.yazi plugin, which loads the last opened directory when I launch Yazi. However, when I open it in Neovim using the "Yazi" command, it doesn't enter the current Neovim directory.
In nvim, to display the current file's directory or avoid loading the projects.yazi plugin, what should I do?
Beta Was this translation helpful? Give feedback.
All reactions