Skip to content

feat(tui): add /browse slash command for file manager integration#375

Merged
theahura merged 2 commits intomainfrom
auto/tui-embedded-vifm-file-browser-20260306-052348
Mar 6, 2026
Merged

feat(tui): add /browse slash command for file manager integration#375
theahura merged 2 commits intomainfrom
auto/tui-embedded-vifm-file-browser-20260306-052348

Conversation

@theahura
Copy link
Copy Markdown
Contributor

@theahura theahura commented Mar 6, 2026

Summary

🤖 Generated with Nori

  • Add /browse slash command that launches a configurable terminal file manager (vifm, ranger, lf, or nnn) within the TUI
  • When a file is selected in the file manager, it opens in the system editor (same behavior as Ctrl-G)
  • File manager choice is configurable via /config menu and persisted to config.toml under [tui] file_manager
  • No default file manager — user must configure one; clear error message directs to /config when unconfigured
  • Command is available during task execution

Test Plan

  • Unit tests for FileManager config loading, command names, and chooser args (codex-acp)
  • Unit tests for /browse slash command registration, visibility, and availability
  • Unit tests for config picker file manager item and sub-picker
  • All 400 codex-acp and 983 nori-tui tests pass
  • Clippy clean on both crates
  • Manual test: configure file_manager = "vifm" in config.toml, run /browse, select a file, verify editor opens

Share Nori with your team: https://www.npmjs.com/package/nori-skillsets

theahura and others added 2 commits March 6, 2026 01:29
…ation

Add a configurable /browse command that launches a terminal file manager
(vifm, ranger, lf, or nnn) within the TUI. When a file is selected, it
opens in the system editor (same as Ctrl-G). The file manager is
configurable via /config menu and persisted to config.toml.
🤖 Generated with [Nori](https://usenori.ai)

Co-Authored-By: Nori <contact@tilework.tech>
After opening a file in the editor, re-launch the file manager so users
can continue browsing. The loop exits when the user quits the file
manager without selecting a file.
🤖 Generated with [Nori](https://usenori.ai)

Co-Authored-By: Nori <contact@tilework.tech>
@theahura theahura merged commit b48a1bc into main Mar 6, 2026
3 checks passed
@theahura theahura deleted the auto/tui-embedded-vifm-file-browser-20260306-052348 branch March 6, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant