Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

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

1 Answer

0 votes
by

You can use vifm.events.listen() in Lua as in reveal.nvim. Maybe that plugin even solves your use case.

by

@xaizek Thanks for the idea! I'll take a look

...