Clean up nvim config: drop duplicate plugins, simplify colorscheme setup

- Remove nvim-autopairs (LazyVim's mini.pairs already handles pairing)
- Remove spectre (superseded by LazyVim's grug-far, conflicted on <leader>sr)
- Remove todo-comments override (LazyVim default covers it; <leader>st
  pointed at TodoTelescope, which is broken without telescope)
- Trim colorscheme.lua to oxocarbon only, set via LazyVim opts; fix
  install colorscheme in lazy.lua
- Delete disabled greggh/claude-code.nvim spec
- Drop obsolete which-key config function and empty defaults table
- Tile vertically for any multi-file open, not just exactly two
- Add stylua.toml and format all lua to 2-space indent

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
2026-07-07 13:11:02 +01:00
co-authored by Claude Fable 5
parent f2f5039433
commit 5b354f172e
15 changed files with 176 additions and 241 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
-- When opening multiple files, tile them vertically (side by side)
vim.api.nvim_create_autocmd("VimEnter", {
callback = function()
if vim.fn.argc() == 2 then
if vim.fn.argc() > 1 then
vim.cmd("vertical ball")
end
end,
+1 -1
View File
@@ -30,7 +30,7 @@ require("lazy").setup({
version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
install = { colorscheme = { "tokyonight", "habamax" } },
install = { colorscheme = { "oxocarbon", "habamax" } },
checker = {
enabled = true, -- check for plugin updates periodically
notify = false, -- notify on update