Here is the example what I want to achieve in Neovim: https://github.com/is0n/fm-nvim/issues/25
I need custom command or to make somehow existing command cw or cW to save tmp file For ex. echo "$(readlink -f $1)" > /tmp/lf_renamed to be able on_close event to pickup changes and close my buffers and open renamed files.
Any idea how to do that?
Thanks in advance
You can use vifm.events.listen() in Lua as in reveal.nvim. Maybe that plugin even solves your use case.
vifm.events.listen()
@xaizek Thanks for the idea! I'll take a look