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) -- When opening multiple files, tile them vertically (side by side)
vim.api.nvim_create_autocmd("VimEnter", { vim.api.nvim_create_autocmd("VimEnter", {
callback = function() callback = function()
if vim.fn.argc() == 2 then if vim.fn.argc() > 1 then
vim.cmd("vertical ball") vim.cmd("vertical ball")
end end
end, end,
+1 -1
View File
@@ -30,7 +30,7 @@ require("lazy").setup({
version = false, -- always use the latest git commit version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver -- version = "*", -- try installing the latest stable version for plugins that support semver
}, },
install = { colorscheme = { "tokyonight", "habamax" } }, install = { colorscheme = { "oxocarbon", "habamax" } },
checker = { checker = {
enabled = true, -- check for plugin updates periodically enabled = true, -- check for plugin updates periodically
notify = false, -- notify on update notify = false, -- notify on update
-8
View File
@@ -1,8 +0,0 @@
return {
{
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {},
},
}
-24
View File
@@ -37,28 +37,4 @@ return {
{ "<leader>ad", "<cmd>ClaudeCodeDiffDeny<cr>", desc = "Deny diff" }, { "<leader>ad", "<cmd>ClaudeCodeDiffDeny<cr>", desc = "Deny diff" },
}, },
}, },
-- Disabled: unmaintained
{
"greggh/claude-code.nvim",
enabled = false,
dependencies = { "nvim-lua/plenary.nvim" },
opts = {
position = "float",
float_opts = {
relative = "win",
width = "80%",
height = "80%",
row = "center",
col = "center",
border = "rounded",
},
},
keys = {
{ "<leader>a", nil, desc = "AI/Claude Code" },
{ "<leader>ac", "<cmd>ClaudeCode<cr>", desc = "Toggle Claude" },
{ "<leader>ar", "<cmd>ClaudeCodeResume<cr>", desc = "Resume Claude" },
{ "<leader>aC", "<cmd>ClaudeCodeContinue<cr>", desc = "Continue Claude" },
},
},
} }
+4 -29
View File
@@ -1,37 +1,12 @@
return { return {
{ "nyoom-engineering/oxocarbon.nvim", lazy = false, priority = 1000 },
{ {
"nyoom-engineering/oxocarbon.nvim", "LazyVim/LazyVim",
lazy = false, opts = {
priority = 1000, colorscheme = function()
config = function()
vim.opt.background = "dark" vim.opt.background = "dark"
vim.cmd("colorscheme oxocarbon") vim.cmd("colorscheme oxocarbon")
end, end,
}, },
{
"sainnhe/sonokai",
opts = {
sonokai_style = "atlantis",
sonokai_transparent_background = 1,
sonokai_enable_italic = true,
}, },
},
{
"folke/tokyonight.nvim",
opts = {
style = "night",
transparent = true,
styles = { comments = { italic = true } },
},
},
{
"loctvl842/monokai-pro.nvim",
opts = {
transparent_background = true,
filter = "spectrum",
},
},
{ "scottmckendry/cyberdream.nvim" },
{ "maxmx03/fluoromachine.nvim" },
{ "rafamadriz/neon" },
} }
-1
View File
@@ -51,4 +51,3 @@ return {
}, },
}, },
} }
+28 -4
View File
@@ -6,10 +6,34 @@ return {
"sindrets/diffview.nvim", "sindrets/diffview.nvim",
}, },
keys = { keys = {
{ "<leader>gg", function() require("neogit").open() end, desc = "Neogit" }, {
{ "<leader>gc", function() require("neogit").open({ "commit" }) end, desc = "Neogit Commit" }, "<leader>gg",
{ "<leader>gl", function() require("neogit").open({ "log" }) end, desc = "Neogit Log" }, function()
{ "<leader>gp", function() require("neogit").open({ "push" }) end, desc = "Neogit Push" }, require("neogit").open()
end,
desc = "Neogit",
},
{
"<leader>gc",
function()
require("neogit").open({ "commit" })
end,
desc = "Neogit Commit",
},
{
"<leader>gl",
function()
require("neogit").open({ "log" })
end,
desc = "Neogit Log",
},
{
"<leader>gp",
function()
require("neogit").open({ "push" })
end,
desc = "Neogit Push",
},
}, },
opts = { opts = {
integrations = { integrations = {
-11
View File
@@ -1,11 +0,0 @@
return {
{
"nvim-pack/nvim-spectre",
dependencies = { "nvim-lua/plenary.nvim" },
keys = {
{ "<leader>sr", function() require("spectre").open() end, desc = "Replace in Files (Spectre)" },
{ "<leader>sr", function() require("spectre").open_visual({ select_word = true }) end, mode = "v", desc = "Replace Word (Spectre)" },
},
opts = {},
},
}
-14
View File
@@ -1,14 +0,0 @@
return {
{
"folke/todo-comments.nvim",
event = "VeryLazy",
dependencies = { "nvim-lua/plenary.nvim" },
opts = {},
keys = {
{ "]t", function() require("todo-comments").jump_next() end, desc = "Next Todo Comment" },
{ "[t", function() require("todo-comments").jump_prev() end, desc = "Prev Todo Comment" },
{ "<leader>xt", "<cmd>Trouble todo<cr>", desc = "Todo (Trouble)" },
{ "<leader>st", "<cmd>TodoTelescope<cr>", desc = "Todo" },
},
},
}
-9
View File
@@ -5,7 +5,6 @@ return {
opts_extend = { "spec" }, opts_extend = { "spec" },
opts = { opts = {
preset = "helix", preset = "helix",
defaults = {},
spec = { spec = {
{ {
mode = { "n", "x" }, mode = { "n", "x" },
@@ -57,13 +56,5 @@ return {
desc = "Window Hydra Mode (which-key)", desc = "Window Hydra Mode (which-key)",
}, },
}, },
config = function(_, opts)
local wk = require("which-key")
wk.setup(opts)
if not vim.tbl_isempty(opts.defaults) then
LazyVim.warn("which-key: opts.defaults is deprecated. Please use opts.spec instead.")
wk.register(opts.defaults)
end
end,
}, },
} }
+3
View File
@@ -0,0 +1,3 @@
indent_type = "Spaces"
indent_width = 2
column_width = 120