- commit
- f61dd57
- parent
- e7dc2b8
- author
- Eric Bower
- date
- 2025-11-20 08:53:04 -0500 EST
chore(nvim): mini.files
1 files changed,
+5,
-3
+5,
-3
1@@ -67,7 +67,7 @@ map("n", "<leader>r", function() -- toggle lsp loclist
2 end
3 end, opts)
4 map("n", "<leader>q", function() -- toggle quickfix
5- for _, win in ipairs(vim.fn.getwininfo()) do
6+ for _, win in ipairs(vim.fn.getwininfo()) do
7 if win.quickfix == 1 then
8 vim.cmd("cclose")
9 return
10@@ -76,7 +76,7 @@ map("n", "<leader>q", function() -- toggle quickfix
11 vim.cmd("copen")
12 end)
13 map("n", "<leader>d", ":DiffviewOpen ")
14-map("n", "<leader>a", "<cmd>15Lexp<cr>")
15+map("n", "<leader>a", "<cmd>lua MiniFiles.open()<cr>")
16 map("n", "<leader>s", "<cmd>Pick files<cr>")
17 map("n", "<leader>g", "<cmd>Pick grep_live<cr>")
18 map("n", "<leader>b", "<cmd>Pick buffers<cr>")
19@@ -133,6 +133,7 @@ vim.pack.add({
20 "https://github.com/sindrets/diffview.nvim",
21 "https://github.com/tpope/vim-fugitive",
22 "https://github.com/NicolasGB/jj.nvim",
23+ "https://github.com/nvim-mini/mini.files",
24 })
25
26 require("vim._extui").enable({}) -- https://github.com/neovim/neovim/pull/27855
27@@ -140,5 +141,6 @@ setup_lsp()
28 require("neoscroll").setup({ duration_multiplier = 0.3 })
29 require("gitlinker").setup()
30 require("jj").setup()
31-require("mini.pick").setup()
32 require("diffview").setup({ use_icons = false })
33+require("mini.pick").setup()
34+require("mini.files").setup()