netrw configured

This commit is contained in:
Ray Elliott 2025-12-07 19:11:23 +00:00
parent 9d10df7ed5
commit 4dcee1703b
1 changed files with 4 additions and 2 deletions

View File

@ -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: `<leader>e` (current window), `<leader>v` (vertical split), `<leader>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: `<leader>te` (new tab at current file's directory), `<leader>tE` (new tab at project root)
- [x] Decision: No `<leader>e` or `<leader>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)