aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/dir.lua
Commit message (Collapse)AuthorAge
* refactor(defaults): edit global cwd on "1-" #41254Nathan Zeng2026-08-11
| | | | | | | | | Problem: `1-` does nothing from a directory buffer, because we are already in the buffer-local CWD. It's also unintuitive that this mapping behaves differently based on the resolved CWD. Solution: Have `1-` open the global CWD.
* fix(dir): preserve alternate file #41177Barrett Ruth2026-08-05
|
* feat(dir): open cwd with `1-` #40948Barrett Ruth2026-07-27
|
* feat(dir): support counts for parent navigation #40927Barrett Ruth2026-07-24
|
* fix(dir): user/plugin can override default "-" mapping #40676Barrett Ruth2026-07-10
|
* fix(dir): define "-" (up/parent) mapping earlier #40531Barrett Ruth2026-07-02
| | | | | | | | | | Problem: The dir.lua "-" mapping cannot be easily overridden (because of autocmd ordering). Solution: - Move it to defaults.lua. - Also to be extra polite: fall back to builtin `-` motion if the user disabled the `dir.lua` plugin.
* fix(dir): restore loaded plugin guard #40528Barrett Ruth2026-07-01
|
* fix(dir): use `nvim.dir` augroup #40507Barrett Ruth2026-06-30
|
* fix(dir): remove loaded plugin guard #40489Barrett Ruth2026-06-30
|
* feat(dir.lua): global "-" default mapping #40426Barrett Ruth2026-06-26
|
* feat(runtime): replace netrw with a very small script #39723Barrett Ruth2026-06-25
Problem: `:edit <dir>` and `nvim <dir>` currently rely on netrw to show local directory contents. Solution: - Provide `filetype=directory`. - Introduce dir.lua, a small plugin that provides directory listing, opening items, parent navigation, and refresh. - `netrw` remains available for `:Explore`, remote paths, archives, and file operations. To continue Co-authored-by: Justin M. Keyes <justinkz@gmail.com>