- 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>
26 lines
651 B
Lua
26 lines
651 B
Lua
require "nvchad.mappings"
|
|
|
|
local map = vim.keymap.set
|
|
|
|
-- 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" })
|
|
|
|
map("n", ";", ":", { desc = "CMD enter command mode" })
|
|
|
|
-- close current buffer
|
|
map("n", "<leader>q", ":q<cr>")
|
|
|
|
-- go back to normal mode
|
|
map("i", "jj", "<Esc>")
|
|
map("i", "jk", "<Esc>")
|
|
|
|
--save file
|
|
map("n", "<C-s>", ":update<CR>")
|
|
map("i", "<C-s>", "<C-o>:update<CR><Esc>")
|
|
|
|
-- remove search highlight
|
|
map("n", "<leader>,", ":noh<cr>")
|