- commit
- 7d495b2
- parent
- 759135d
- author
- Eric Bower
- date
- 2025-11-16 02:54:19 -0500 EST
chore(nvim): use netrw
1 files changed,
+6,
-2
+6,
-2
1@@ -34,8 +34,11 @@ o.smartcase = true
2 o.swapfile = false
3 o.foldmethod = "indent"
4 o.foldlevelstart = 99
5-o.grepprg = "rg --vimgrep --smart-case --no-heading"
6+o.grepprg = "rg --vimgrep --smart-case --follow"
7 o.grepformat = "%f:%l:%c:%m"
8+vim.g.netrw_banner = 0
9+vim.g.netrw_cursor = 0
10+vim.g.netrw_preview = 0
11 vim.g.mapleader = ","
12 vim.g.maplocalleader = ","
13
14@@ -73,6 +76,7 @@ map("n", "<leader>g", ":silent grep! ")
15 map("n", "<leader>d", ":DiffviewOpen ")
16 map("n", "<leader>s", ":Qfa fd -t f | fzf -f ") -- fuzzy match files into quickfix
17 map("n", "<leader>m", "<cmd>silent make!<cr>")
18+map("n", "<leader>a", "<cmd>15Lexp<cr>")
19
20 local augroup = vim.api.nvim_create_augroup("erock.cfg", { clear = true })
21 local autocmd = vim.api.nvim_create_autocmd
22@@ -126,7 +130,7 @@ vim.pack.add({
23 "https://github.com/karb94/neoscroll.nvim",
24 "https://github.com/linrongbin16/gitlinker.nvim",
25 "https://github.com/neurosnap/qfutil.nvim",
26- "https://github.com/neurosnap/jj.nvim",
27+ "https://github.com/NicolasGB/jj.nvim",
28 "https://github.com/sindrets/diffview.nvim",
29 })
30