Completes the Lua plugin system: plugins now auto-load at startup,
listen to fileview events, and can drive navigation and selection.
Highlights
- Plugins auto-load from
~/.config/fileview/plugins/init.lua - Plugin events fire on every relevant fileview state change
- Plugins can navigate, modify selection, and post status notifications
Added
- Plugin events:
start,file_selected,directory_changed,selection_changed,before_quit - Plugin actions:
fv.navigate(path),fv.select(path),fv.deselect(path),fv.clear_selection(),fv.refresh(),fv.set_clipboard(text),fv.focus(path) - Status bar integration for plugin notifications
Notes
The plugin loader uses mlua with vendored Lua 5.4, so no external
runtime is required.
Full Changelog: v1.18.0...v1.22.0