From 4dcee1703bd3aacb6c0c18a73ceae794a4d80473 Mon Sep 17 00:00:00 2001 From: ray Date: Sun, 7 Dec 2025 19:11:23 +0000 Subject: [PATCH] netrw configured --- MIGRATION_PLAN.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MIGRATION_PLAN.md b/MIGRATION_PLAN.md index e23c962..6d70075 100644 --- a/MIGRATION_PLAN.md +++ b/MIGRATION_PLAN.md @@ -117,8 +117,10 @@ Source of truth for the step-by-step rebuild. Keep this concise and up to date. ## Phase 4.2 — Configure netrw - [x] Configure netrw with tree view, preview split, and basic settings (no banner, sensible defaults) -- [x] Created `lua/netrw-config.lua` with settings: tree view, preview split, 25% width, human-readable sizes -- [x] Add simple keymaps for opening netrw: `e` (current window), `v` (vertical split), `te` (new tab) +- [x] Created `lua/netrw-config.lua` with settings: tree view, horizontal preview split below, 50/50 split, human-readable sizes +- [x] Add netrw keymaps: `te` (new tab at current file's directory), `tE` (new tab at project root) +- [x] Decision: No `e` or `v` keymaps - use `:Ex`, `:Vex` directly when needed +- [x] Preview behavior: Enter opens file in netrw window, `p` opens 50/50 horizontal split below ## Phase 4.2.1 — PHP gf enhancement - [x] Add PHP `includeexpr` for intelligent `gf` behavior (handles `__DIR__`, `__FILE__`, `dirname(__FILE__)` patterns)