fix(config): cleanup bugs, redundancy, and add agent-friendly auto-reload

- remove broken mini.files mappings (plugin disabled; yazi is used now)
- dedupe tint.nvim spec (drop plugins/theme.lua, keep ui.lua)
- drop dead copilot cmp source + moot Supermaven symbol (Supermaven stays inline)
- remove yaml from biome formatters (biome has no yaml support)
- collapse 3x biome chain to a single biome-check pass
- remove duplicate insert-mode jk mapping
- lazy-load tailwind-tools by filetype
- diagnostics: update_in_insert = false
- untrack .nvimlog, add .gitignore
- auto-reload files changed on disk (autoread + checktime autocmds)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Miguel Palhas
2026-06-29 14:12:45 +01:00
co-authored by Claude Opus 4.8
parent 35370b831c
commit 020bf7716e
11 changed files with 36 additions and 43 deletions
+1 -17
View File
@@ -2,29 +2,13 @@ require "nvchad.mappings"
local map = vim.keymap.set
-- remove nvim-tree mappings (using mini.files instead)
-- remove nvim-tree mappings (nvim-tree disabled; using yazi instead, see plugins/yazi.lua)
vim.keymap.del("n", "<leader>e")
vim.keymap.del("n", "<C-n>")
vim.keymap.del("n", "<leader>rn")
map("n", "<leader>rn", vim.lsp.buf.rename, { desc = "LSP Rename" })
-- mini.files
map("n", "<leader>e", function()
local MiniFiles = require "mini.files"
if not MiniFiles.close() then
MiniFiles.open(vim.api.nvim_buf_get_name(0))
end
end, { desc = "File explorer (current file)" })
map("n", "<leader>E", function()
local MiniFiles = require "mini.files"
if not MiniFiles.close() then
MiniFiles.open(vim.uv.cwd())
end
end, { desc = "File explorer (cwd)" })
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
-- close current buffer
map("n", "<leader>q", ":q<cr>")