Skip to content

Commit 340319e

Browse files
prooferThomasK33
andauthored
Mini.files support touch-ups (#98)
* docs: clarify mini.files is not built-in to Neovim * docs: add mini-files to fixtures and file explorers documentation * fix: add minifiles filetype to keybinding scope * docs: add mini-files to test fixtures list * fix: add minifiles to sidebar filetype lists * docs: add mini.files to supported explorers list * docs: add mini.files to keybinding and usage examples --------- Signed-off-by: Thomas Kosiewski <tk@coder.com> Co-authored-by: Thomas Kosiewski <tk@coder.com>
1 parent ee1f537 commit 340319e

File tree

8 files changed

+11
-7
lines changed

8 files changed

+11
-7
lines changed

ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ Manual testing with real Neovim configurations in the `fixtures/` directory:
245245
source fixtures/nvim-aliases.sh
246246
vv nvim-tree # Test with nvim-tree integration
247247
vv oil # Test with oil.nvim integration
248+
vv mini-files # Test with mini.files integration
248249
vv netrw # Test with built-in netrw
249-
vv mini-files # Test with built-in mini.files
250250

251251
# Each fixture provides:
252252
# - Complete Neovim configuration

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ The `fixtures/` directory contains test Neovim configurations for verifying plug
5151
- `netrw` - Tests with Neovim's built-in file explorer
5252
- `nvim-tree` - Tests with nvim-tree.lua file explorer
5353
- `oil` - Tests with oil.nvim file explorer
54+
- `mini-files` - Tests with mini.files file explorer
5455

5556
**Usage**: `source fixtures/nvim-aliases.sh && vv oil` starts Neovim with oil.nvim configuration
5657

@@ -318,7 +319,7 @@ Log levels for authentication events:
318319
### Integration Support
319320

320321
- Terminal integration supports both snacks.nvim and native Neovim terminal
321-
- Compatible with popular file explorers (nvim-tree, oil.nvim)
322+
- Compatible with popular file explorers (nvim-tree, oil.nvim, neo-tree, mini.files)
322323
- Visual selection tracking across different selection modes
323324

324325
## Release Process

DEVELOPMENT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ source fixtures/nvim-aliases.sh
148148
# Test with specific integration
149149
vv nvim-tree # Start Neovim with nvim-tree configuration
150150
vv oil # Start Neovim with oil.nvim configuration
151+
vv mini-files # Start Neovim with mini.files configuration
151152
vv netrw # Start Neovim with built-in netrw configuration
152153

153154
# List available configurations

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ When Anthropic released Claude Code, they only supported VS Code and JetBrains.
4040
"<leader>as",
4141
"<cmd>ClaudeCodeTreeAdd<cr>",
4242
desc = "Add file",
43-
ft = { "NvimTree", "neo-tree", "oil" },
43+
ft = { "NvimTree", "neo-tree", "oil", "minifiles" },
4444
},
4545
-- Diff management
4646
{ "<leader>aa", "<cmd>ClaudeCodeDiffAccept<cr>", desc = "Accept diff" },
@@ -182,7 +182,7 @@ Configure the plugin with the detected path:
182182
1. **Launch Claude**: Run `:ClaudeCode` to open Claude in a split terminal
183183
2. **Send context**:
184184
- Select text in visual mode and use `<leader>as` to send it to Claude
185-
- In `nvim-tree`/`neo-tree`/`oil.nvim`, press `<leader>as` on a file to add it to Claude's context
185+
- In `nvim-tree`/`neo-tree`/`oil.nvim`/`mini.nvim`, press `<leader>as` on a file to add it to Claude's context
186186
3. **Let Claude work**: Claude can now:
187187
- See your current file and selections in real-time
188188
- Open files in your editor

dev-config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ return {
2424
"<leader>as",
2525
"<cmd>ClaudeCodeTreeAdd<cr>",
2626
desc = "Add file from tree",
27-
ft = { "NvimTree", "neo-tree", "oil" },
27+
ft = { "NvimTree", "neo-tree", "oil", "minifiles" },
2828
},
2929

3030
-- Development helpers

lua/claudecode/diff.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ local function find_main_editor_window()
5151
or filetype == "neo-tree-popup"
5252
or filetype == "NvimTree"
5353
or filetype == "oil"
54+
or filetype == "minifiles"
5455
or filetype == "aerial"
5556
or filetype == "tagbar"
5657
)

lua/claudecode/integrations.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
---Tree integration module for ClaudeCode.nvim
2-
---Handles detection and selection of files from nvim-tree, neo-tree, and oil.nvim
1+
--- Tree integration module for ClaudeCode.nvim
2+
--- Handles detection and selection of files from nvim-tree, neo-tree, mini.files, and oil.nvim
33
---@module 'claudecode.integrations'
44
local M = {}
55

lua/claudecode/tools/open_file.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ local function find_main_editor_window()
8080
or filetype == "neo-tree-popup"
8181
or filetype == "NvimTree"
8282
or filetype == "oil"
83+
or filetype == "minifiles"
8384
or filetype == "aerial"
8485
or filetype == "tagbar"
8586
)

0 commit comments

Comments
 (0)