nvim: replace vinegar with the built-in directory browser
Nightly's dir.lua takes directories over from netrw, and vinegar's global - mapping kept it from installing its own, so - reopened the same directory.

Assisted-by: Claude Opus 5.5 via Claude Code
change votlotuxvwusvtwxuqpqpnookxloryuk
commit 5fec1a6874f9ec7d928a8e6809bed6cb0a2d7d1f
author Alpha Chen <alpha@kejadlen.dev>
date
parent pnomlpmp
diff --git a/.config/nvim/fnl/init.fnl b/.config/nvim/fnl/init.fnl
index 4a542a5b..0e1c1bbc 100644
--- a/.config/nvim/fnl/init.fnl
+++ b/.config/nvim/fnl/init.fnl
@@ -148,8 +148,7 @@
                "https://github.com/tpope/vim-sleuth.git"
                "https://github.com/tpope/vim-speeddating.git"
                "https://github.com/tpope/vim-surround.git"
-               "https://github.com/tpope/vim-unimpaired.git"
-               "https://github.com/tpope/vim-vinegar.git"])
+               "https://github.com/tpope/vim-unimpaired.git"])
 
 (let [callback (fn [event]
                  (let [{:spec {: name} : kind} event.data]
@@ -193,11 +192,10 @@
 ;   (set vim.g.lightline {:colorscheme :alphabaster
 ;                         :component {:filename "%{expand(\"%:~:.\")}"}}))
 
-;;; netrw
+;;; directory browser
 
-;; https://github.com/tpope/vim-vinegar/issues/13
-(set vim.g.netrw_fastbrowse 0)
-(set vim.g.netrw_home "~/.nvim_tmp")
+;; The built-in only maps - inside directory buffers.
+(vim.keymap.set :n "-" "<Plug>(nvim-dir-up)")
 
 ;;; treesitter
 (require :treesitter)
diff --git a/.config/nvim/nvim-pack-lock.json b/.config/nvim/nvim-pack-lock.json
index ecedc881..199813c8 100644
--- a/.config/nvim/nvim-pack-lock.json
+++ b/.config/nvim/nvim-pack-lock.json
@@ -107,10 +107,6 @@
     "vim-unimpaired": {
       "rev": "db65482",
       "src": "https://github.com/tpope/vim-unimpaired.git"
-    },
-    "vim-vinegar": {
-      "rev": "bb1bcdd",
-      "src": "https://github.com/tpope/vim-vinegar.git"
     }
   }
 }