Is there a way to use yazi in nvim without a floating window #303
-
Is there a way to use yazi in nvim without a floating window so when i close nvim when yazi is active it wont redirect me to the open buffer? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Right now it's required. I started creating a proof of concept where yazi could be opened in the current window (meaning, split or buffer), so it might be an option in the future. However, closing Neovim when yazi is closed might be a disruptive default for some users. Still, it should be possible to do what I think it is you are asking. I would suggest looking into the advanced configuration section of the readme. You can find a section showing some hooks, and I think you could implement the following logic in your configuration:
|
Beta Was this translation helpful? Give feedback.
Right now it's required. I started creating a proof of concept where yazi could be opened in the current window (meaning, split or buffer), so it might be an option in the future.
However, closing Neovim when yazi is closed might be a disruptive default for some users.
Still, it should be possible to do what I think it is you are asking. I would suggest looking into the advanced configuration section of the readme. You can find a section showing some hooks, and I think you could implement the following logic in your configuration:
:qa
to quit