FileView 3.1.2 fixes settings and keys that did not work, and removes features that were documented but never worked, so FileView stays a small, fast viewer. Config and theme files written for older versions still load.
Fixed
- Configuration is read from
~/.config/fileviewon every platform, as documented, or from$XDG_CONFIG_HOME/fileviewwhen that is set. macOS and Windows used to read only Application Support or AppData, so config, theme, and plugin files placed in~/.config/fileviewwere ignored. Each file is still read from the old location when the same file is not in~/.config/fileview, so existing setups keep working.fv plugin initnow writes the template where plugins are loaded from. Ctrl+J,Ctrl+K, andCtrl+Pin the fuzzy finder move the selection and close it again instead of typingj,k, orpinto the query. OtherCtrlandAltkeys are no longer typed into text prompts either, whileAltGrcharacters on Windows still are.\opens the TODO list again. It was taken as the start of a dropped path.- The MCP server no longer replies to JSON-RPC notifications such as
notifications/initialized, which the protocol forbids. enable_iconsandmouse_enabledinconfig.tomltake effect. They were read but never applied. Both stay on by default, and--icons,--no-icons, andFILEVIEW_ICONSstill win over the file.
Removed
These were documented but never worked, so removing them changes no behavior. Config and theme files that still set them load as before, and the keys are ignored.
[hooks]inconfig.toml. The hooks were parsed but never run.hex_max_bytes,max_archive_entries, and the[ui]section (show_size,show_permissions,date_format) inconfig.toml. Nothing read them.background,foreground,status_bg,status_fg, anderror, and the file type colors other thandirectory, intheme.toml. Nothing drew them.keymap.toml. The file was never loaded, so custom key bindings never applied.[commands]inconfig.toml. Commands could only be bound throughkeymap.toml, so none of them ever ran.image_protocolinconfig.toml. It was never applied.FILEVIEW_IMAGE_PROTOCOLstill selects the image protocol.- The
Alt+Ssubshell binding. It only showed a message and never started a shell.Alt+Snow does nothing instead of staging the file.
Changed
- Every guide, the examples, and the CLI and in-app help were checked against the code and corrected. The three example plugins relied on commands that never ran, so they are replaced by one that uses events.
- With the unused code gone, a local release build is about 50 KB smaller (6.81 MB instead of 6.86 MB on macOS ARM64), and the crate is about 9 KB smaller.
What's Changed
- fix: Read ~/.config/fileview and stop eating command keys by @Hiro-Chiba in #266
- fix: Apply three config keys and remove features that never worked by @Hiro-Chiba in #267
- fix: Remove custom commands, which could never run by @Hiro-Chiba in #268
- docs: Make every guide match the code by @Hiro-Chiba in #269
- chore(release): Prepare v3.1.2 by @Hiro-Chiba in #270
Full Changelog: v3.1.1...v3.1.2