This commit is contained in:
Ray Elliott 2026-07-07 01:02:07 +01:00
commit b1967bc6a1
7 changed files with 89 additions and 1 deletions

View file

@ -74,6 +74,7 @@ Core keymaps available globally (not plugin-specific). These provide fallbacks f
| n | `<leader>nt` | Open netrw in new tab at current file's directory |
| n | `<leader>nT` | Open netrw in new tab at project root |
| n | `<leader>nr` | Open netrw in current window at project root |
| n | `<C-6>` / `<C-^>` | Jump to alternate file, skipping netrw explorer buffers |
**Note:** Project root is stored as the initial working directory when Neovim starts. This allows navigation back to the project root even after following symlinks to external directories.
@ -504,4 +505,4 @@ The working directory (`:pwd`) is locked to the directory where you opened Neovi
- `netrw_keepdir = 1` prevents netrw from changing directory when browsing
- Project root is captured at startup in `vim.g.project_root` (used by Telescope and netrw)
- Telescope searches from the initial project root regardless of current buffer
- Use `:cd <path>` to manually change directory if needed (affects Telescope search scope)
- Use `:cd <path>` to manually change directory if needed (affects Telescope search scope)