From c156651739816f43af97d038d407f30f03cbb1f5 Mon Sep 17 00:00:00 2001 From: proofer <1290776+proofer@users.noreply.github.com> Date: Thu, 31 Jul 2025 13:54:25 -0700 Subject: [PATCH 1/7] docs: clarify mini.files is not built-in to Neovim --- ARCHITECTURE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 4874ae6..c34fc60 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -245,8 +245,8 @@ Manual testing with real Neovim configurations in the `fixtures/` directory: source fixtures/nvim-aliases.sh vv nvim-tree # Test with nvim-tree integration vv oil # Test with oil.nvim integration +vv mini-files # Test with mini.files integration vv netrw # Test with built-in netrw -vv mini-files # Test with built-in mini.files # Each fixture provides: # - Complete Neovim configuration From 14dd2c943f41fb72c1ef766691b86efdfedc2478 Mon Sep 17 00:00:00 2001 From: proofer <1290776+proofer@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:10:10 -0700 Subject: [PATCH 2/7] docs: add mini-files to fixtures and file explorers documentation --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 45a6262..cb1b43d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -51,6 +51,7 @@ The `fixtures/` directory contains test Neovim configurations for verifying plug - `netrw` - Tests with Neovim's built-in file explorer - `nvim-tree` - Tests with nvim-tree.lua file explorer - `oil` - Tests with oil.nvim file explorer +- `mini-files` - Tests with mini.files file explorer **Usage**: `source fixtures/nvim-aliases.sh && vv oil` starts Neovim with oil.nvim configuration @@ -293,7 +294,7 @@ Log levels for authentication events: ### Integration Support - Terminal integration supports both snacks.nvim and native Neovim terminal -- Compatible with popular file explorers (nvim-tree, oil.nvim) +- Compatible with popular file explorers (nvim-tree, oil.nvim, neo-tree, mini.files) - Visual selection tracking across different selection modes ## Release Process From cf1930e5b15e0b947a4fc32d20496e5707145eba Mon Sep 17 00:00:00 2001 From: proofer <1290776+proofer@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:28:37 -0700 Subject: [PATCH 3/7] fix: add minifiles filetype to keybinding scope --- dev-config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-config.lua b/dev-config.lua index 2fd2cae..ab532fb 100644 --- a/dev-config.lua +++ b/dev-config.lua @@ -24,7 +24,7 @@ return { "as", "ClaudeCodeTreeAdd", desc = "Add file from tree", - ft = { "NvimTree", "neo-tree", "oil" }, + ft = { "NvimTree", "neo-tree", "oil", "minifiles" }, }, -- Development helpers From 024fb7d4aeb786c26f23e23caba51f868de81fcc Mon Sep 17 00:00:00 2001 From: proofer <1290776+proofer@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:48:37 -0700 Subject: [PATCH 4/7] docs: add mini-files to test fixtures list --- DEVELOPMENT.md | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 4e4b85b..7c0311a 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -148,6 +148,7 @@ source fixtures/nvim-aliases.sh # Test with specific integration vv nvim-tree # Start Neovim with nvim-tree configuration vv oil # Start Neovim with oil.nvim configuration +vv mini-files # Start Neovim with mini.files configuration vv netrw # Start Neovim with built-in netrw configuration # List available configurations From b33c57b787d530ed06df2159dfdcee275c77aae1 Mon Sep 17 00:00:00 2001 From: proofer <1290776+proofer@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:56:54 -0700 Subject: [PATCH 5/7] fix: add minifiles to sidebar filetype lists --- lua/claudecode/diff.lua | 1 + lua/claudecode/tools/open_file.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/lua/claudecode/diff.lua b/lua/claudecode/diff.lua index 631ac36..a486107 100644 --- a/lua/claudecode/diff.lua +++ b/lua/claudecode/diff.lua @@ -50,6 +50,7 @@ local function find_main_editor_window() or filetype == "ClaudeCode" or filetype == "NvimTree" or filetype == "oil" + or filetype == "minifiles" or filetype == "aerial" or filetype == "tagbar" ) diff --git a/lua/claudecode/tools/open_file.lua b/lua/claudecode/tools/open_file.lua index 81c9ce8..ee039be 100644 --- a/lua/claudecode/tools/open_file.lua +++ b/lua/claudecode/tools/open_file.lua @@ -91,6 +91,7 @@ local function find_main_editor_window() or filetype == "ClaudeCode" or filetype == "NvimTree" or filetype == "oil" + or filetype == "minifiles" or filetype == "aerial" or filetype == "tagbar" ) From e58e9ecc2fcf772a264a91c1ce9125fb9a71f339 Mon Sep 17 00:00:00 2001 From: proofer <1290776+proofer@users.noreply.github.com> Date: Thu, 31 Jul 2025 15:06:42 -0700 Subject: [PATCH 6/7] docs: add mini.files to supported explorers list --- lua/claudecode/integrations.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/claudecode/integrations.lua b/lua/claudecode/integrations.lua index c4646a8..2704024 100644 --- a/lua/claudecode/integrations.lua +++ b/lua/claudecode/integrations.lua @@ -1,6 +1,6 @@ --- -- Tree integration module for ClaudeCode.nvim --- Handles detection and selection of files from nvim-tree, neo-tree, and oil.nvim +-- Handles detection and selection of files from nvim-tree, neo-tree, mini.files, and oil.nvim -- @module claudecode.integrations local M = {} From 1af24749b464e41c74292cfba8fc9245af67052a Mon Sep 17 00:00:00 2001 From: proofer <1290776+proofer@users.noreply.github.com> Date: Thu, 31 Jul 2025 15:16:01 -0700 Subject: [PATCH 7/7] docs: add mini.files to keybinding and usage examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index add7076..9005f8a 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ When Anthropic released Claude Code, they only supported VS Code and JetBrains. "as", "ClaudeCodeTreeAdd", desc = "Add file", - ft = { "NvimTree", "neo-tree", "oil" }, + ft = { "NvimTree", "neo-tree", "oil", "minifiles" }, }, -- Diff management { "aa", "ClaudeCodeDiffAccept", desc = "Accept diff" }, @@ -182,7 +182,7 @@ Configure the plugin with the detected path: 1. **Launch Claude**: Run `:ClaudeCode` to open Claude in a split terminal 2. **Send context**: - Select text in visual mode and use `as` to send it to Claude - - In `nvim-tree`/`neo-tree`/`oil.nvim`, press `as` on a file to add it to Claude's context + - In `nvim-tree`/`neo-tree`/`oil.nvim`/`mini.nvim`, press `as` on a file to add it to Claude's context 3. **Let Claude work**: Claude can now: - See your current file and selections in real-time - Open files in your editor